How do I determine cluster endpoints for a GKE cluster

0 votes
Oct 30, 2019 in GCP by anonymous
• 6,260 points
1,642 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, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer
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 Nov 12, 2019 in GCP by Sirajul
• 59,230 points
2,967 views
0 votes
0 answers

How do I increase the quota for a kub cluster in Qwiklabs Challenge?

I'm doing the google cloud essentials challenge ...READ MORE

Apr 11, 2022 in GCP by Rahul
• 3,380 points
359 views
0 votes
1 answer
+1 vote
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, 2019 in GCP by Sirajul
• 59,230 points
993 views
+1 vote
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP