From the first day I attended Red Hat's OpenShift v3 course, I began asking the question, "Will it run in OpenShift?" I use an open source knowledge management app called PiggyDB religiously, and I wanted to know if an instance running in OpenShift could really replace a full fledged VM.
After learning the basics of OpenShift, (a.k.a. launching basic webapps from templates), I immediately turned my attention to setting up an instance of PiggyDB.
The first thing I noticed...? It was pretty easy! I literally dropped the .war file into a specific folder in github, pointed a Tomcat template to that repo, attached a storage volume, and VOILA! I had a PiggyDB running in OpenShift!
So, this got me thinking.
What else can I run in OpenShift?
One of my first attempts to test the limits of OSE was to try to run a 3D game. That will never work, right? Wrong...
|You can play this now at the link below!|
Note: This game doesn't run in IE or Safari
How about other games?
Okay, how about a gitlab server that I can loop back to and store my code for OpenShift apps? How cool would that be?
(Gitlab is no longer running in my OSE environment because it needs full "privileged container" rights. The Gitlab team is currently working with Red Hat to create a Gitlab image more suited for OpenShift. Read more about it here.)
Finally, after having all this fun, I started to consider customer use cases. What could customers possibly want that OpenShift may not be able to offer? Maybe a social media site like twitter? Or a blog? Or a Question and answer site like Stack Exchange? How about all three together in the same webapp...?
Note: There is no way to comment directly on this blog post, but feel free to "fake tweet" any comments here!
And last but not least, I attempted to give OSE 3 the toughest test I could think of...a full streaming webservice (ala NetFlix). Behold, full HD streaming video through OpenShift!
(Took this one down, too.)
To me, the most impressive application was the 3D game. I researched further and found that you can even do GPU passthrough and perform CUDA computation inside of an OpenShift application, if anyone ever decides to take it that far.
Equally impressive is the fact that, since these apps are containerized, they require much fewer resources to run. All of the apps linked above are running at the same time right now on my home lab, along with others that are "boring" enough that they didn't make this list.
Even the blog that you're currently readings is running in my OpenShift lab!
So, what challenges do you have for this amazing new technology? Do you have an app that you think OpenShift can't handle? If so, give it a try! You might be surprised. :D
- The OpenShift course referenced in the first sentence was an amazing internal Red Hat enablement course put on by our OpenShift architects. If you'd like to attend, just contact me and I'll help you apply to work with us at Red Hat! Also, obvious disclaimer: I work at Red Hat and am extremely biased towards OpenShift, lol.
- My OpenShift PiggyDB has completely replaced the VM that I used before. My NFS storage for the database is backed with SSDs, and it's actually faster than the VM I used to run. I had them both up and running for about a month before I felt comfortable "letting go" and shutting down the VM, and now I've fully converted to the OpenShift instance.
- Links for to code for the apps I'm running: