Running pods on master nodes in RKE

You may run into situations where you need to run pods on your K8s master node. If you’r using RKE, you need to taint two labels on the controller/master node.

You can obtain the current labels using

kubectl describe node NODENAME

and look under the labels section


you then need the following two commands

kubectl taint nodes node-1
kubectl taint nodes node-1

Happy Kuberneting!