Allow scheduling of pods on Kubernetes master?

前端 未结 8 826
逝去的感伤
逝去的感伤 2020-12-03 06:54

I set up Kubernetes on CoreOS on bare metal using the generic install scripts. It\'s running the current stable release, 1298.6.0, with Kubernetes version 1.5.4.

We\

8条回答
  •  时光说笑
    2020-12-03 07:28

    I don't know why the master node shows up as NotReady; it shouldn't. Try executing kubectl describe node mymasternode to find out.

    The SchedulingDisabled is because the master node is tainted with dedicated=master:NoSchedule

    Execute this command against all your masters to remove the taint:

    kubectl taint nodes mymasternode dedicated-
    

    To understand why that works read up on taints and tolerations.

提交回复
热议问题