When you talk about control plane and worker nodes ? How do we define it ?
My understanding is control plane is the one which actually runs Kubernetes services like etcd ,scheduler , controller ,kubectl .
Worker nodes are the ones which actually runs the POD or containers .
Am i correct on the above ?
Another question if i create a two node Kubernetes cluster . Which of these nodes will control plane and which node will be worker node ?
My understanding is control plane is the one which actually runs Kubernetes services like etcd ,scheduler , controller ,kubectl .
kubectl is just a client too that talks to the api-server (the kube-apiserver runs on controlplane nodes), and can run off any system, including nodes, or not nodes. But generally speaking, you’re correct: if it runs K8s components, it’s a controlplane node.
Worker nodes are the ones which actually runs the POD or containers .
Yes but: controlplane nodes can run pods as well, depending upon how they are configured.
Another question if i create a two node Kubernetes cluster . Which of these nodes will control plane and which node will be worker node ?
Different things are installed on a controlplane node, so it depends upon what was installed on the nodes.