GKE Cluster - Understanding 'EndPoint'?

10/4/2019

I have created a GKE cluster. I did a describe of of my cluster as below:

gcloud container clusters describe dev-gke --region=us-east4 | grep 35.245.72.197

and the output is as below:

endpoint: 35.245.72.197
  publicEndpoint: 35.245.72.197

As a novice in GCP, it would be great if veterans can help me understand, what is this public endpoint for ?

-- Sunil
gke-networking
google-cloud-platform
google-kubernetes-engine

2 Answers

10/8/2019

As John said for other questions please open a new thread.

The master node is manage by GKE directly.

https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#master

Here you can find more information about setting a private cluster:

https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters

https://cloud.google.com/kubernetes-engine/docs/how-to/authorized-networks

-- Toni
Source: StackOverflow

10/4/2019

The publicEndpoint is the external IP address of this cluster's master endpoint. The master endpoint is the IP address for the Kubernetes master node.

Note: The correct (better) command to obtain the public endpoint:

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