cluster created with Kops - deploying one pod by node with DaemonSet avoiding master node

前端 未结 1 1942
说谎
说谎 2021-01-20 09:24

I try to deploy one pod by node. It works fine with the kind daemonSet and when the cluster is created with kubeup. But we migrated the cluster creation using kops and with

相关标签:
1条回答
  • 2021-01-20 09:50

    Just move the annotation into the pod template: section (under metadata:).

    Alternatively taint the master node (and you can remove the annotation):

    kubectl taint nodes nameofmaster dedicated=master:NoSchedule
    

    I suggest you read up on taints and tolerations.

    0 讨论(0)
提交回复
热议问题