Move a VM based application to Kubernetes

By: Twana Daniel

Move a VM based application to Kubernetes

The IBM Cloud Kubernetes Service offers managed Kubernetes clusters with isolation and hardware choice, operational tools, integrated security, as well as insights into images and containers. Kubernetes offers many great benefits like application scalability, visibility, time savings, version control, rolling updates and more.

To move applications to Kubernetes, you need to:

  • Define clusters for different environment types(dev, test, and production).

  • Handle data storage and the importance of persistent data storage.

  • Apply the 12-factor principles to your application and use secrets for credentials in Kubernetes.

  • Build docker images and push them to IBM Cloud container registry.

  • Create Kubernetes deployment files and deploy the docker image to Kubernetes.

With this in place, let’s explore how to do all that on IBM Cloud. To do that we added a new tutorial to our collection with a step by step guide. In this tutorial, you will learn how to:

  • Map components between VMs and Kubernetes.

  • Containerize the application.

  • Deploy the container to a Kubernetes cluster on the IBM Cloud Kubernetes Service.

Following this tutorial, you will understand how to take an existing traditional application architecture, based on virtual machines: 

traditional_architecture

To a modern container, architecture that would look similar to:

modern_architecture

Try it today

There is more to discover to this tutorial guide. We encourage you to go through the tutorial. It will guide you how to take an existing application, containerize it and deploy it to a Kubernetes cluster.

View the tutorial

The tutorials section has a feedback form on the side where you can comment on the content. So if you have suggestions on the existing tutorials or ideas for future additions, please submit your feedback.

Be the first to hear about news, product updates, and innovation from IBM Cloud