Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do managed Kubernetes providers hide the master nodes?

If I run kubectl get nodes on GKE, EKS, or DigitalOcean Kubernetes, I only see the worker nodes. How are these systems architected at the network or application level to create this separation between workers and masters?

like image 874
Thomas Fussell Avatar asked Apr 17 '19 12:04

Thomas Fussell


People also ask

Why does Kubernetes have 3 master nodes?

A multi-master setup protects against a wide range of failure modes, from a loss of single worker node to the failure of the master node's etcd service. By providing redundancy, a multi-master cluster serves a highly available system for your end users.

Can we have 2 master nodes in Kubernetes?

Kubernetes High-Availability is about setting up Kubernetes, along with its supporting components in a way that there is no single point of failure. A single master cluster can easily fail, while a multi-master cluster uses multiple master nodes, each of which has access to same worker nodes.

Is Kubernetes master node the same as control plane?

Master Nodes will be part of Control Plane, but again it is just a change in terminology and Worker nodes still have same terminology. Please see kubernetes.io/docs/concepts/overview/components to know more.

Can Kubernetes work without master node?

No. As you can read in Kubernetes Components section: Master components provide the cluster's control plane.


1 Answers

You can run the Kubernetes control plane outside Kubernetes as long as the worker nodes have network access to the control plane. This approach is used on most managed Kubernetes solutions.

like image 170
Lukas Eichler Avatar answered Oct 23 '22 15:10

Lukas Eichler