如何重启kubeadm搭建的k8s集群的kubernetes kube-scheduler

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

我已经通过 kubeadm 跟随 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)

创建了一个 kubernetes 集群

如何使用新配置(不同的策略列表)重启 kube-scheduler pod?

kube-scheduler 是主节点上由 kubelet 管理的静态 pod。因此更新 kube-scheduler 清单文件 (/etc/kubernetes/manifests/kube-scheduler.yaml) 将触发 kube-scheduler 重启。