Interacting with Kubernetes using kubectl
In this section, we will learn the basics of the kubectl
command line. It is the official Kubernetes client, and its features can be extended by adding plugins.
The installation process for this tool is quite simple, as it is a single binary written in the Go language; therefore, we can download it from the official Kubernetes binaries repository. To download from this repository, you must include the release to use in the URL. For example, https://dl.k8s.io/release/v1.27.4/bin/linux/amd64/kubectl will link you to the kubectl
Linux binary for Kubernetes 1.27.4. You will be able to manage Kubernetes clusters using binaries from a different release, although it is recommended to maintain alignment with your client and Kubernetes server releases. How to install the tool for each platform is described in https://kubernetes.io/docs/tasks/tools/#kubectl. As we will use Microsoft Windows in the Labs section, we will use the following link to install...