This document shows how to install Google Cloud CLI before you install Anthos clusters on VMware (GKE on-prem).
To install Anthos clusters on VMware, you need certain tools that are in gcloud CLI. Use the following steps to install the tooling, including upgrading your existing gcloud CLI installation.
To install gcloud CLI and related tooling:
Install gcloud CLI:
Install gcloud CLI but skip the
If you already have a version installed, run the following command to list what components and versions you have:
gcloud components list
If you have the
latest available versionand both the
Installed, you can stop here.
Retrieve the latest components and versions:
Run the following command to update gcloud CLI:
gcloud components update
To install the
kubectlcomponents, run the following commands:
gcloud components install kubectl gcloud components install anthos-auth