Setting up your local Kubernetes environment
Now that we have refreshed some basic Kubernetes concepts, it's time for the rubber to hit the road. In this section, we will prepare and validate our local Kubernetes clusters. The cluster we set up here will be used to host the ML platform in later chapters.
Installing kubectl
kubectl
is a command-line tool that assists in running commands against a Kubernetes cluster. You can create Kubernetes objects, view logs, and monitor the progress of your actions through this utility. The following steps will install kubectl
on your machine.
Installing kubectl on Linux
First, let's see the process for installing kubectl
on a machine running Linux. Follow these next steps:
- Create or Secure Shell (SSH) to a Terminal session on your Linux computer.
- Download the
kubectl
. Kubernetes command-line interface (CLI). We will be using version1.22.4
throughout the book. The following two lines of code are one command:curl...