This page shows how to install Cloud SDK before you install GKE on-prem.
Installing Cloud SDK
To install GKE on-prem, you need certain tools that are in Cloud SDK. Use the following steps to install the tooling, including upgrading your existing Cloud SDK installation.
To install Cloud SDK and related tooling:
Install Cloud SDK:
Install Cloud SDK but skip the
gcloud init
command.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 version
and both theanthos-auth
andkubectl
components areInstalled
, you can stop here.
Retrieve the latest components and versions:
Run the following command to update Cloud SDK:
gcloud components update
To install the
anthos-auth
andkubectl
components, run the following commands:gcloud components install kubectl gcloud components install anthos-auth