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

前端 未结 1 1591
天命终不由人
天命终不由人 2021-01-20 09:19

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:54

    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)
提交回复
热议问题