12
votes

In GKE, when we create nodes, there will be a master node and many worker nodes will be created. I have a doubt whether master node is the one among which we created(replicas mentioned) or GKE creates master node separately. And What is the topology(eg.,mesh,star) in which gke cluster is formed ?

1
you can't see the master. You can check out the nodes your using by looking at the node pools, or just query the backing compute instances (gcloud compute instances list)Bradford Medeiros
No, the nodes that we see is Actually worker Nodes. Master Nodes in GKE is hidden and Google Manages on your behalf. Regarding the No of master nodes, it is not known as master is in HA mode and is given to us as an API endpoint which is whole point of managed cluster.Nitin Kumar Singh

1 Answers

12
votes

In GKE, if you create a standard cluster you will have API access to one master node, if you create a regional cluster you will have three master nodes but you will access them in One endpoint (one in each zone of the region).

GKE is a managed Kubernetes cluster, The master node is not visible among your service node you can only access it through the API only.

The default GKE configuration (topology) see the below screen

enter image description here

Here is some documentation regarding Private cluster

enter image description here