Overview

To install kubernetes or minikube in general, which is a taste of Kubernetes. You need to configuration the repository first. So let's configure the Repository, depending on the operation system. In our case we will use Ubuntu, but the installation will be pretty similiar on the distributions as well.

In a nutshell we have to:

Install the GPG key

Update the local Repo

Install the kubectl

Config

Let's start the configuration one by one, firstly: Install the GPG key:

Install GPG key

Download the GPG Key

Then we have to insert the repo details:

Insert Repo Location

That command, will add the: “deb https://apt.kubernetes.io/ kubernetes-xenial main” string in the kuberenetes.list file.

Update local Repo

After that, we can update the local repo:

Update the local repo

Install Kubectl, Kubelete & Kubeadm

We can check, if the installation has been correct as follows: Eventhough, we need only the kubectl, let's install the whole stack, since we will use it later, for the whole manual implementation:

Install the kubectl

We can verify if the installation is complete by checking the version:

Check the kubectl

Install Docker

To install Minikube, we have to install a driver, so either: docker or rockat. I will go with a docker here:

Install Docker