Kubernetes 101 : Static pods, their drawbacks and the kubelet daemon
Then we check if the pod is running, using the below command:
Remark:
"kubectl drain" doesn't stop the pods that for some reason can't be stopped, we could use the "--force" parameter to override that behavior.
After "draining" the node, we try to display the pods on our worker node as below, but we don't get any output:
To prepare our node for "housing" pods again, we could then restart the kubelet daemon as below:
And to make our node available for scheduling pods again, we use the below command:
Comments