<p>I want to disable a Kubernetes scheduler plugin. <a href="https://kubernetes.io/docs/reference/scheduling/config/" rel="nofollow noreferrer">The kubernetes docs</a> says to use a configuration file like:</p>
<pre><code>apiVersion: kubescheduler.config.k8s.io/v1beta1
kind: KubeSchedulerConfiguration
profiles:
  - plugins:
      score:
        disabled:
        - name: NodeResourcesLeastAllocated
        enabled:
        - name: MyCustomPluginA
          weight: 2
        - name: MyCustomPluginB
          weight: 1
</code></pre>
<p>But it does not say how to activate this config file. I've tried calling <code>kube-scheduler --conf conf.yaml</code> locally on my computer but do not understand if the kube-scheduler should be run from inside the kube scheduling pod. I'm using minkube with kubernetes v1.20.2.</p>

<p>I found an issue on github discussing the documentation, I posted how we managed to configure plugins in that thread <a href="https://github.com/kubernetes/website/issues/21128" rel="nofollow noreferrer">https://github.com/kubernetes/website/issues/21128</a> .</p>
