apiVersion: v1
kind: Pod
metadata:
 name: my-custom-scheduler
 namespace: kube-system
spec:
 containers:
 - command:
   - kube-scheduler
   - --address=127.0.0.1
   - --kubeconfig=/etc/kubernetes/scheduler.conf
   - --leader-elect=true
   - --scheduler-name=my-custom-scheduler
