Access GKE Cluster¶
This section will guide you through getting access to your GKE cluster.
Overview
What You’ll Need¶
- A configured management environment.
- An existing GKE cluster.
Procedure¶
Download credentials and configure the Kubernetes client:
root@rok-tools:~# gcloud container clusters get-credentials ${GKE_CLUSTER?} Fetching cluster endpoint and auth data. kubeconfig entry generated for arrikto-cluster.
Verify¶
Verify that your cluster runs with the appropriate Kubernetes version:
root@rok-tools:~# kubectl version -ojson \ > | jq -r '.serverVersion.gitVersion' v1.23.11-gke.300Get the list of nodes:
root@rok-tools:~# kubectl get nodes NAME STATUS ROLES AGE VERSION gke-arrikto-cluster-default-workers-a089030c-32wn Ready <none> 20m v1.23.11-gke.300 gke-arrikto-cluster-default-workers-a089030c-7q2b Ready <none> 20m v1.23.11-gke.300 gke-arrikto-cluster-default-workers-a089030c-gfc9 Ready <none> 20m v1.23.11-gke.300
What’s Next¶
The next step is to enable the Workload Identity feature on your GKE cluster.