Compare languages | Управление control plane: примеры

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

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