How can I get a list of all schedulers in a Kubernetes cluster, if I do not want to rely on the pod names?
The command
kubectl get pods --all-namespaces | grep scheduler
would miss a scheduler with a typo in the pods's name (for example it would not find my-custom-sheduler
) or schedulers that have been installed as an OS service instead of using a pod.
I am looking for something like kubectl get schedulers
, but this command only returns error: ther server doesn't have a resource type "schedulers"
.