Scaffold and deploy a scalable web application in an enterprise Kubernetes environment

August 26, 2019 devadvin

Deploying your application to a container, or multiple containers, is just the first step. When a cloud-native system becomes more established, it’s even more important to manage, track, redeploy, and repair the software and architecture.

You can choose from various techniques to help platforms provision, test, deploy, scale, and run your containers efficiently across multiple hosts and operating environments, to perform automatic health checks, and to ensure high availability. Eventually, these approaches transform an app idea into an enterprise solution.

The code patterns, tutorials, videos, and articles on IBM Developer about Red Hat OpenShift on IBM Cloud™ are a good place to start considering ways to use an enterprise Kubernetes environment with worker nodes that come installed with the Red Hat OpenShift on IBM Cloud Container Platform orchestration software. With Red Hat OpenShift on IBM Cloud, you can use IBM Cloud Kubernetes Service for your cluster infrastructure environment and the OpenShift platform tools and catalog that run on Red Hat Enterprise Linux for deploying your apps.

As you move forward in exploring how to work with combined Red Hat OpenShift on IBM Cloud capabilities, you will want to know how to scaffold a web application (both Node.js and Express), run it locally in a Docker container, push the scaffolded code to a private Git repository, and then deploy it. You can follow the details in the Scalable web application on OpenShift tutorial in the Red Hat OpenShift on IBM Cloud documentation.

Consider a few tips: You can expose the app on an OpenShift route, which directs ingress traffic to applications deployed on the cluster, a simplified approach. You can bind a custom domain in OpenShift with one command, instead of defining an Ingress Kubernetes service in YAML and applying it. Also, you can monitor the health of the environment scale the application. For example, if your production app is experiencing an unexpected spike in traffic, the container platform automatically scales to handle the new workload.

You can check out the architecture diagram at the Scalable web application on OpenShift tutorial and then try it for yourself.

Previous Article
A Watson Visual Recognition recommendation example
A Watson Visual Recognition recommendation example

To achieve truly personalized experience, one has to know individual user's choices or preferences in detai...

Next Article
Join the Blockchain summer school in Rotterdam in September
Join the Blockchain summer school in Rotterdam in September

In this interview, IBM developer advocate Edward Ciggaar explains what you can expect from this two-day wor...

×

Want our latest news? Subscribe to our blog!

Last Name
First Name
Thank you!
Error - something went wrong!