Additional scheduler as a service options in Kubernetes

Your Kubernetes cluster can have multiple schedulers at the same time.
As we know: to deploy an additional scheduler, we need to download the binary or we can use the same kube-scheduler binary and run it as a service with a set of options.

In case of systemd service we can copy the code from the default scheduler and modify the following option:

--scheduler-name=my-custom-scheduler
this is important to differentiate between schedulers as this name could be used in pod definition files

Example of my-custom-scheduler.service:
[Service]
ExecStart=/usr/local/bin/kube-scheduler \\
  --config=/etc/kubernetes/config/kube-scheduler.yaml \\
  --scheduler-name=my-custom-scheduler