Managing Docker containers with the help of Kubernetes

Before we get started, let’s discuss the fancy word…
What is Kubernetes?

This brings us to the second question…
What is Docker?

Let’s get started with this exercise

Step 1:

Pick a Hypervisor.
Hyper-V can be installed in 4 steps:

  1. Select Programs and Features on the right under related settings.
  2. Select Turn Windows Features on or off.
  3. Select Hyper-V and click OK.

Step 2:

Start minikube using command, For Hyper-V →
minikube start — vm-driver=”hyperv” — hyperv-virtual-switch=<name_of_your_switch>

Step 3:

If you open up your Hypervisor (I am using V-BOX), we can verify that the minikube VM has been created.

Step 4:

Step 5:

Step 6:

Step 7:

So to fix this, we just need to change the type from Load Balancer to NodePort
We do this by:

Step 8:

This is the fun part, let’s check out what we made!

Conclusion/Ending Points to talk about

Kubernetes also makes it very easy to update and scale applications. To update apps we can change the tags that the image use, and to scale we can increase the number of replicas used by our docker image/aka, the number of pods used by our service.

Aspiring DevOps Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store