Working with kubectl
Learn about the main Kubernetes command-line tool: kubectl.
We'll cover the following...
kubectl
kubectl
is the Kubernetes command-line tool, and you’ll use it in all the hands-on examples. You’ll already have it if you’ve followed the instructions to install either of the clusters.
Type kubectl
in a terminal window to check if you have it. If you don’t have it, search the web for install kubectl
and follow the instructions for your system.
It’s important that your kubectl
version is no more than one minor version higher or lower than your cluster. For example, if your cluster is running Kubernetes 1.29.x, your kubectl
should be no lower than 1.28.x and ...