You are viewing documentation for Kubernetes version: v1.20
Kubernetes v1.20 documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
gcloud kubectl install
How to install kubectl with gcloud snippet for inclusion in each OS-specific tab.
You can install kubectl as part of the Google Cloud SDK.
Install the Google Cloud SDK.
Run the
kubectlinstallation command:gcloud components install kubectlTest to ensure the version you installed is up-to-date:
kubectl version --client
Last modified September 25, 2026 at 6:31 PM PST: feat: port the static site setup to release-1.20 (7a04f87)