Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions recipes/checks/kueue/health-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Kueue Health Check
#
# Validates that Kueue is running and healthy in the kueue-system namespace.
# Checks that the kueue-controller-manager deployment has at least one
# available replica and that no pods in the namespace are stuck in Pending,
# Failed, or Unknown phases.
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
name: kueue-health-check
spec:
timeouts:
assert: 5m
steps:
- name: validate-deployment-exists
try:
# Guard against vacuous pass on empty namespace: verify the
# kueue-controller-manager deployment exists and has at least one ready replica.
- assert:
resource:
apiVersion: apps/v1
kind: Deployment
metadata:
name: kueue-controller-manager
namespace: kueue-system
status:
(availableReplicas > `0`): true
- name: validate-all-pods-healthy
try:
# Assert no pods are in unhealthy phases.
# Pods must be Running (long-lived) or Succeeded (completed jobs).
# This catches Pending (init containers, scheduling), Failed, and Unknown.
- error:
resource:
apiVersion: v1
kind: Pod
metadata:
namespace: kueue-system
status:
phase: Pending
- error:
resource:
apiVersion: v1
kind: Pod
metadata:
namespace: kueue-system
status:
phase: Failed
- error:
resource:
apiVersion: v1
kind: Pod
metadata:
namespace: kueue-system
status:
phase: Unknown
21 changes: 21 additions & 0 deletions recipes/components/kueue/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Kueue Helm values
# Kubernetes-native job queueing system with quota management,
# fair sharing, priority-based preemption, and multi-tenancy support.

controllerManager:
tolerations:
- operator: Exists
18 changes: 18 additions & 0 deletions recipes/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,24 @@ components:
tolerationPaths:
- operator.tolerations

- name: kueue
displayName: kueue
valueOverrideKeys:
- kueue
healthCheck:
assertFile: checks/kueue/health-check.yaml
helm:
defaultRepository: oci://registry.k8s.io/kueue
defaultChart: kueue
defaultVersion: v0.17.0
defaultNamespace: kueue-system
nodeScheduling:
system:
nodeSelectorPaths:
- controllerManager.nodeSelector
tolerationPaths:
- controllerManager.tolerations

- name: kubeflow-trainer
displayName: kubeflow-trainer
valueOverrideKeys:
Expand Down