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
February 13, 2019

Simplify and Automate Deployments Using GitOps with IBM Multicloud Manager 3.1.2

Use Argo CD, a GitOps continuous delivery tool for Kubernetes, and IBM Multicloud Manager to achieve declarative and automated deployment of applications to multiple Kubernetes clusters.

Continue reading

February 11, 2019

Solving Business Problems with Splunk on IBM Cloud Kubernetes Service

In this tutorial, we will install Splunk Connect for Kubernetes into an existing Splunk instance. Splunk Connect for Kubernetes provides a way to import and search your Kubernetes logging, object, and metrics data in Splunk.

Continue reading

February 8, 2019

A How-To for Migrating Redis to IBM Cloud Databases for Redis

If you’re moving your data over to IBM Cloud Databases for Redis, you’ll need to take some steps to successfully migrate all of your data. We’ve got you covered. In this post, we’ll show you a quick way to start migrating your data across to Databases for Redis, whether your database is on-premise or in the cloud.

Continue reading