1

I want to disable a Kubernetes scheduler plugin. The kubernetes docs says to use a configuration file like:

apiVersion: kubescheduler.config.k8s.io/v1beta1
kind: KubeSchedulerConfiguration
profiles:
  - plugins:
      score:
        disabled:
        - name: NodeResourcesLeastAllocated
        enabled:
        - name: MyCustomPluginA
          weight: 2
        - name: MyCustomPluginB
          weight: 1

But it does not say how to activate this config file. I've tried calling kube-scheduler --conf conf.yaml 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.

HissPirat
  • 41
  • 4

1 Answers1

2

I found an issue on github discussing the documentation, I posted how we managed to configure plugins in that thread https://github.com/kubernetes/website/issues/21128 .

HissPirat
  • 41
  • 4