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 I will show how to do it in every distribution

Repo Config

Let's start with Ubuntu:

Ubuntu

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.

After that, we can update the local repo:

Update the local repo

Finally, we can install the kubectl:

Install the kubectl