kueue: Dataflow¶
Controller Watches¶
Kubernetes resources this controller monitors for changes. Each watch triggers reconciliation when the watched resource is created, updated, or deleted.
Reconciliation Flow¶
How the controller interacts with the Kubernetes API during reconciliation.
sequenceDiagram
%% Static dataflow for kueue
participant KubernetesAPI as Kubernetes API
participant controller_manager as controller-manager
KubernetesAPI->>+controller_manager: Watch Pod (reconcile)
KubernetesAPI->>+controller_manager: Watch StatefulSet (reconcile)
KubernetesAPI->>+controller_manager: Watch AdmissionCheck (reconcile)
KubernetesAPI->>+controller_manager: Watch Workload (reconcile)
KubernetesAPI->>+controller_manager: Watch Workload (reconcile)
KubernetesAPI->>+controller_manager: Watch LeaderWorkerSet (reconcile)
controller_manager->>KubernetesAPI: Create/Update ProvisioningRequest
controller_manager->>KubernetesAPI: Create/Update Workload
KubernetesAPI-->>+controller_manager: Watch LimitRange (informer)
KubernetesAPI-->>+controller_manager: Watch Namespace (informer)
KubernetesAPI-->>+controller_manager: Watch Pod (informer)
KubernetesAPI-->>+controller_manager: Watch Pod (informer)
KubernetesAPI-->>+controller_manager: Watch AdmissionCheck (informer)
KubernetesAPI-->>+controller_manager: Watch ClusterQueue (informer)
KubernetesAPI-->>+controller_manager: Watch ClusterQueue (informer)
KubernetesAPI-->>+controller_manager: Watch ClusterQueue (informer)
KubernetesAPI-->>+controller_manager: Watch LocalQueue (informer)
KubernetesAPI-->>+controller_manager: Watch ProvisioningRequestConfig (informer)
KubernetesAPI-->>+controller_manager: Watch ProvisioningRequestConfig (informer)
KubernetesAPI-->>+controller_manager: Watch ResourceFlavor (informer)
KubernetesAPI-->>+controller_manager: Watch Workload (informer)
KubernetesAPI-->>+controller_manager: Watch Workload (informer)
KubernetesAPI-->>+controller_manager: Watch RuntimeClass (informer)
Note over controller_manager: Exposed Services
Note right of controller_manager: visibility-server:443/TCP [https]
Note right of controller_manager: webhook-service:443/TCP []
Webhooks¶
| Name | Type | Path | Failure Policy | Service | Source |
|---|---|---|---|---|---|
| mdeployment.kb.io | mutating | config/rhoai/mutating_webhook_patch.yaml |
|||
| mjob.kb.io | mutating | config/rhoai/mutating_webhook_patch.yaml |
|||
| mpod.kb.io | mutating | config/rhoai/mutating_webhook_patch.yaml |
|||
| vcohort.kb.io | validating | /validate-kueue-x-k8s-io-v1alpha1-cohort | fail | pkg/webhooks/cohort_webhook.go |
|
| vdeployment.kb.io | validating | config/rhoai/validating_webhook_patch.yaml |
|||
| vjob.kb.io | validating | config/rhoai/validating_webhook_patch.yaml |
|||
| vpod.kb.io | validating | config/rhoai/validating_webhook_patch.yaml |
HTTP Endpoints¶
Configuration¶
ConfigMaps and Helm values that control this component's runtime behavior.
Helm¶
Chart: kueue v0.1.0