Venkata Ragu:
Hi Guys, Right now I am scheduling section and going through Static POD Lecture. So all the control plane components are installed as PODS. My query is where all these static pods are created. Will they be installed in Control Plane node (master)/Worker node. While doing the lab for static pod (Question: 4), it was mentioned as “By default, static pods
are created for the controlplane components and hence, they are only created in the controlplane
node.” As per the lecture, I assume, these static pods will be created in worker node. Can anyone of correct and guide me on this.
Saheed Adeosho:
on the master or controlplane node; the directory at /etc/kubernetes/manifests holds the config. for all k8s components pod definition files - when created they are on kube-system namespace with suffix controlplane or master. this directory is specified in /var/lib/kubelet/config file as the value for the key staticPodPath. You can also create these static pods for nodes… ssh into the node, check var/lib/kubelet/config to know or dictate your staticPodPath: and possibly create the directory. Remember to restart kubelet after doing this