Installing Kubernetes (Minikube and KinD)
Let's now move on and install Kubernetes for your development environment. We will first begin with Minikube to get you started quickly, and then we will look into KinD. We will then use KinD for the rest of the chapter.
Installing Minikube
We will install Minikube in the same Linux machine we used to install Docker in Chapter 2, Containerization with Docker. So, if you haven't completed that, please go to Chapter 2, Containerization with Docker, and use the instructions to set up Docker on the machine.
We will first install kubectl
. As described previously, kubectl
is the command line utility that interacts with the Kubernetes API server. We will use kubectl
multiple times in the book.
To download the latest release of kubectl
, run the following command:
$ curl -LO "https://storage.googleapis.com/kubernetes-release/\ release/$(curl -s https://storage.googleapis.com/kubernetes-\ release/release/stable.txt)/bin...