vmware-archive / kops

Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management
Apache License 2.0
3 stars 3 forks source link

Scheduling is not disabled on the master node #68

Closed divyenpatel closed 7 years ago

divyenpatel commented 7 years ago

found scheduling is enabled on the Master node after cluster deployment. expecting SchedulingDisabled status on master node. pods are getting created on the master node.

+ kubectl get nodes
NAME                                                  STATUS         AGE       VERSION
master-vmware-zone.masters.kubernetes.skydns.local1   Ready,master   1h        v1.5.2
nodes.kubernetes.skydns.local1                        Ready,node     1h        v1.5.2
nodes.kubernetes.skydns.local2                        Ready,node     1h        v1.5.2
prashima commented 7 years ago

Discussed this offline with @divyenpatel. The way kops makes sure that unwanted pods are not scheduled on master node it through taints and toleration. So a pod spec that doesn't bear appropriate toleration will not be scheduled on master.

Closing this issue, it's not a bug.