How to restart the kubernetes kube-scheduler of a k8s cluster built by kubeadm

╄→尐↘猪︶ㄣ 提交于 2019-12-25 17:44:29

问题


I have created a kubernetes cluster by kubeadm following this official tutorial. Each of the control panel components (apiserver,control manager, kube-scheduler) is a running pod. I learned that kube-scheduler will be using some default scheduling policies (defined here) when it is created by kubeadm. These default policies are a subset of all available policies (listed here)

How can I restart the kube-scheduler pod with a new configuration(different policy list)?


回答1:


The kube-scheduler is a static pod managed by kubelet on the master node. So updating the kube-scheduler manifest file (/etc/kubernetes/manifests/kube-scheduler.yaml) will trigger the kube-scheduler to restart.



来源:https://stackoverflow.com/questions/57949983/how-to-restart-the-kubernetes-kube-scheduler-of-a-k8s-cluster-built-by-kubeadm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!