How do I determine cluster endpoints for a GKE cluster?

0 votes
Oct 30, 2019 in GCP by anonymous
• 5,970 points
152 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
• 55,300 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
• 55,300 points
604 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, 2019 in GCP by Sirajul
• 55,300 points
235 views
0 votes
1 answer
0 votes
1 answer