The Deckhouse Kubernetes Platform installs CRDs but does not remove them when a module is disabled. If you no longer need the created CRDs, delete them.

The module lifecycle stageGeneral Availability

KubeSchedulerWebhookConfiguration

Scope: Cluster
Version: v1alpha1

Defines the configuration for connecting a third-party kube-scheduler extender webhook.

An external kube-scheduler webhook allows expanding the capabilities of the scheduler and consider more complex conditions when planning the load in the Kubernetes cluster.

  • webhooks
    array of objects

    Required value

    • webhooks.clientConfig
      object

      Required value

      ClientConfig defines how to communicate with the webhook.

      • webhooks.clientConfig.caBundle
        string

        Required value

        caBundle is a PEM encoded CA bundle which will be used to validate the webhook’s server certificate.

        Pattern: ^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{4}|[A-Za-z0-9+\/]{3}=|[A-Za-z0-9+\/]{2}={2})$

      • webhooks.clientConfig.service
        object

        Required value

        Access to webhook via cluster service.

        • webhooks.clientConfig.service.name
          string

          Required value

          Service name.

          Pattern: ^[0-9a-z\-]+$

          Length: 1..255

        • webhooks.clientConfig.service.namespace
          string

          Required value

          Service namespace.

          Pattern: ^[0-9a-z\-]+$

          Length: 1..255

        • webhooks.clientConfig.service.path
          string

          Required value

          URI path.

          Pattern: ^[0-9a-zA-Z._\/-]+$

          Length: 1..255

        • webhooks.clientConfig.service.port
          integer

          Required value

          Service port.

          Allowed values: 1 <= X <= 65535

    • webhooks.failurePolicy
      string

      Specifies scheduling should fail or not fail when the extender returns an error or is not reachable.

      Default: Fail

      Allowed values: Fail, Ignore

    • webhooks.filterVerb
      string

      Verb appended to URLPrefix when issuing a filter call to the scheduler extender. If omitted, defaults to filter(for backward compatibility, avoid making changes unless necessary). Set to an empty string "" to disable filter calls for this extender.

    • webhooks.preemptVerb
      string

      Verb appended to URLPrefix when issuing a preempt call to this extender. Leave empty ("") to disable preempt calls for this extender.

    • webhooks.prioritizeVerb
      string

      Verb appended to URLPrefix when issuing a prioritize call to this extender. If omitted, defaults to prioritize(for backward compatibility, avoid making changes unless necessary). Set to an empty string "" to disable prioritize calls for this extender.

    • webhooks.timeoutSeconds
      integer

      Webhook timeout in seconds.

      Default: 10

      Allowed values: 1 <= X <= 60

    • webhooks.weight
      integer

      Required value

      The numeric multiplier for the node scores that the prioritize call generates.

      Allowed values: 1 <= X