How-tos

Move a VM based application to Kubernetes

Share this post:

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: 

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

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.

Full-Stack Software Developer & Developer Advocate at IBM Cloud

More How-tos stories
December 13, 2018

Java Microservices with MicroProfile – API Documentation

To benefit from the reuse and consistency microservice APIs offer, other developers will need guidance to use your APIs correctly. With annotations defined in the MicroProfile OpenAPI specification from Java EE, it's easy to generate clear documentation.

Continue reading

December 13, 2018

Tutorial: Deploying the Jenkins Helm Community Chart on IBM Cloud Kubernetes Service

The IBM Hybrid Cloud Team has authored a tutorial that will guide you through the steps required to set up and install a Jenkins server and deploy a sample Node and React application on IBM Cloud Kubernetes Service.

Continue reading

December 12, 2018

Deploying to IBM Cloud Private 3.1 with IBM Cloud Developer Tools CLI

IBM Cloud Developer Tools CLI version 2.1.12 adds deployment support for IBM Cloud Private 3.1.

Continue reading