k8s/StudyNotes/ kube-scheduler
- kubeadm starts default-scheduler as pod
- can have more than one, --scheduler-name=my-custom-scheduler
- if multiple copys on different nodes, only one leader --leader-elect=true --lock-object-name=
view Scheduler Logs, same as pod logs
kubectl logs my-custom-scheduler --name-space=kube-system
in Pod pick scheduler with
apiVersion: v1 kind: Pod metadata: ... spec: containers: ... schedulerName: my-custom-scheduler