Compare languages | Managing control plane: examples

The connection of an external scheduler plugin

Подключение внешнего плагина планировщика

Example of connecting an external scheduler plugin via webhook.

Пример подключения внешнего плагина планировщика через вебхук.

yaml apiVersion: deckhouse.io/v1alpha1 kind: KubeSchedulerWebhookConfiguration metadata: name: sds-replicated-volume webhooks:

  • weight: 5 failurePolicy: Ignore clientConfig: service: name: scheduler namespace: d8-sds-replicated-volume port: 8080 path: /scheduler caBundle: ABCD= timeoutSeconds: 5

yaml apiVersion: deckhouse.io/v1alpha1 kind: KubeSchedulerWebhookConfiguration metadata: name: sds-replicated-volume webhooks:

  • weight: 5 failurePolicy: Ignore clientConfig: service: name: scheduler namespace: d8-sds-replicated-volume port: 8080 path: /scheduler caBundle: ABCD= timeoutSeconds: 5