How do I determine cluster endpoints for a GKE cluster?

0 votes
Oct 30 in GCP by anonymous
• 3,920 points
10 views

1 answer to this question.

0 votes

To determine your cluster endpoints, describe your cluster using the following commands:

gcloud container clusters describe [CLUSTER-NAME] \ --zone=[ZONE] | --region=[REGION] \ --format="get(privateClusterConfig.privateEndpoint)"

gcloud container clusters describe [CLUSTER-NAME] \ --zone=[ZONE] | --region=[REGION] \ --format="get(privateClusterConfig.publicEndpoint)"

where:

  • [CLUSTER-NAME] is the name of your cluster.

  • [ZONE] is the zone of a zonal cluster, or [REGION] is the region of a regional cluster.

answered Oct 30 by Sirajul
• 37,480 points

Related Questions In GCP

0 votes
1 answer

How can I use a pre-existing disk as a persistent volume for a GKE cluster?

If you already have a persistent disk (say ...READ MORE

answered 5 days ago in GCP by Sirajul
• 37,480 points
9 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Can I create a load balancer with path based routing in GKE?

Yes, it's possible. Note that you simply will use the internal Load balancing (ILB) for ...READ MORE

answered Oct 10 in GCP by Sirajul
• 37,480 points
29 views
0 votes
1 answer