KubeSchedulerConfiguration is not available to the componentconfig API

7/31/2018

I am trying to disable preemption on a Kubernetes 1.11.0 cluster.

According to the documentation this can be done by setting

disablePreemption: true

in the KubeSchedulerConfiguration via the componentconfig/v1alpha1 API.

The error that I am getting when I try this is no matches for kind "KubeSchedulerConfiguration" in version "componentconfig/v1alpha1".

I tried to explicitly turn on the componentconfig/v1alpha1 API, but it doesn't show up in kubectl api-versions.

Is there something that I am missing to make the component config API recognize the KubeSchedulerConfiguration object?

Thank you

-- Devin McGinty
kubernetes
scheduler

0 Answers