[kubernetes] Taint Tolerance Scheduling in Clusters

taint tolerant scheduling in k8s cluster

Node scheduling and taint configuration in Kubernetes cluster


Under the default configuration, Kubernetes will not schedule the Pod to the Master node, and the policy is set to try not to schedule resources to the tainted nodes.
kubectl describe node master View master node Taints configuration
[ root@master modules]# kubectl describe node master|grep Taints
Taints: node-role.kubernetes.io/ master:NoSchedule

Run the pod scheduler on the master and also use it as a worker node
[root@master modules]# kubectl taint node master node-role.kubernetes.io/master-

[root@master modules]# kubectl describe node master|grep Taints
Taints:


Related Articles

Explore More Special Offers

  1. Short Message Service(SMS) & Mail Service

    50,000 email package starts as low as USD 1.99, 120 short messages start at only USD 1.00