<p>How would I display available schedulers in my cluster in order to use non default one using the <strong>schedulerName</strong> field?</p>
<p>Any link to a document describing how to &quot;install&quot; and use a custom scheduler is highly appreciated :)</p>
<p>Thx in advance</p>

Abdelghani
<p>Schedulers can be found among your <code>kube-system</code> pods. You can then filter the output to your needs with <code>kube-scheduler</code> as the search key:</p>
<pre class="lang-sh prettyprint-override"><code>➜  ~ kubectl get pods -n kube-system
NAME                                       READY   STATUS      RESTARTS   AGE
coredns-6955765f44-9wfkp                   0/1     Completed   15         264d
coredns-6955765f44-jmz9j                   1/1     Running     16         264d
etcd-acid-fuji                             1/1     Running     17         264d
kube-apiserver-acid-fuji                   1/1     Running     6          36d
kube-controller-manager-acid-fuji          1/1     Running     21         264d
kube-proxy-hs2qb                           1/1     Running     0          177d
kube-scheduler-acid-fuji                   1/1     Running     21         264d
</code></pre>
<p>You can retrieve the yaml file with:</p>
<pre class="lang-sh prettyprint-override"><code>➜  ~ kubectl get pods -n kube-system &lt;scheduler pod name&gt; -oyaml 

</code></pre>
<p>If you bootstrapped your cluster with Kubeadm you may also find the yaml files in the <code>/etc/kubernetes/manifests</code>:</p>
<pre class="lang-yaml prettyprint-override"><code>➜  manifests sudo cat /etc/kubernetes/manifests/kube-scheduler.yaml
---
apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: null
  labels:
    component: kube-scheduler
    tier: control-plane
  name: kube-scheduler
  namespace: kube-system
spec:
  containers:
  - command:
    - kube-scheduler
    - --authentication-kubeconfig=/etc/kubernetes/scheduler.conf
    - --authorization-kubeconfig=/etc/kubernetes/scheduler.conf
    - --bind-address=127.0.0.1
    - --kubeconfig=/etc/kubernetes/scheduler.conf
    - --leader-elect=true
    image: k8s.gcr.io/kube-scheduler:v1.17.6
    imagePullPolicy: IfNotPresent
---------
</code></pre>
<p>The location for minikube is similar but you do have to login in the minikube's virtual machine first with <code>minikube ssh</code>.</p>
<p>For more reading please have a look how to <a href="https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/" rel="nofollow noreferrer">configure multiple schedulers</a> and <a href="https://banzaicloud.com/blog/k8s-custom-scheduler/" rel="nofollow noreferrer">how to write custom schedulers.</a></p>
