How to require one pod per minion/kublet when configuring a replication controller?

后端 未结 3 756
情深已故
情深已故 2021-01-06 11:59

I have 4 nodes (kubelets) configured with a label role=nginx

master ~ # kubectl get node
NAME          LABELS                               


        
3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-06 12:44

    Replication controller doesn't guarantee one pod per node as the scheduler will find the best fit for each pod. I think what you want is the DaemonSet controller, which is still under development. Your workaround posted above would work too.

提交回复
热议问题