Difference between revisions of "Gcloud container clusters get-credentials"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
[[kubectl config get-contexts]] | [[kubectl config get-contexts]] | ||
+ | [[kubectl config use-context]] | ||
Revision as of 09:20, 8 August 2022
gcloud container clusters get-credentials gcloud container clusters get-credentials MyClusterName gcloud container clusters get-credentials MyClusterName --zone europe-west3-b gcloud container clusters get-credentials MyClusterName --region europe-west3-c
gcloud container clusters get-credentials MyClusterName --zone europe-west3-b Fetching cluster endpoint and auth data. kubeconfig entry generated for MyClusterName.
kubectl config get-contexts kubectl config use-context
Errors
gcloud container clusters get-credentials ERROR: (gcloud.container.clusters.get-credentials) argument NAME: Must be specified. Usage: gcloud container clusters get-credentials NAME [optional flags] optional flags may be --help | --internal-ip | --region | --zone For detailed information on this command and its flags, run: gcloud container clusters get-credentials --help
Related
gcloud components install gke-gcloud-auth-plugin
gcloud container clusters list
kubectl get pods
aws eks update-kubeconfig --name my-eks-cluster-name
See also
gcloud container clusters [ create | get-credentials | list | describe ]
gcloud container [ clusters | images | get-server-config | subnets ]
- GKE, GKE Autopilot,
gcloud container, gke-gcloud-auth-plugin
, GKE release channels, GKE Ingress, GCP Node logs, GCP Node logs severity Error, GKE roles, Provide access to GKE cluster, Deploy GKE cluster using Terraform,cluster_autoscaling, addons_config, GKE Node Pool
, node auto-provisioning
Advertising: