From 8f02f80d8389fa0d495e0e78f664b4b6e9a9d6bf Mon Sep 17 00:00:00 2001 From: Karthik Vetrivel Date: Fri, 4 Sep 2026 13:53:19 -0700 Subject: [PATCH] Sync ComputeDomain CRD with DRA driver v0.5.0 schema Signed-off-by: Karthik Vetrivel --- bundle/manifests/resource.nvidia.com_computedomains.yaml | 5 +++-- .../crds/resource.nvidia.com_computedomains.yaml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bundle/manifests/resource.nvidia.com_computedomains.yaml b/bundle/manifests/resource.nvidia.com_computedomains.yaml index 5a28ae17ca..0811b3ce2c 100644 --- a/bundle/manifests/resource.nvidia.com_computedomains.yaml +++ b/bundle/manifests/resource.nvidia.com_computedomains.yaml @@ -66,12 +66,13 @@ spec: - resourceClaimTemplate type: object numNodes: + default: 0 description: |- Intended number of IMEX daemons (i.e., individual compute nodes) in the ComputeDomain. Must be zero or greater. With `featureGates.IMEXDaemonsWithDNSNames=true` (the default), this is - recommended to be set to zero. Workload must implement and consult its + recommended to be set to zero (default). Workload must implement and consult its own source of truth for the number of workers online before trying to share GPU memory (and hence triggering IMEX interaction). When non-zero, `numNodes` is used only for automatically updating the global @@ -91,10 +92,10 @@ spec: The `numNodes` parameter is deprecated and will be removed in the next API version. + minimum: 0 type: integer required: - channel - - numNodes type: object x-kubernetes-validations: - message: A computeDomain.spec is immutable diff --git a/deployments/gpu-operator/crds/resource.nvidia.com_computedomains.yaml b/deployments/gpu-operator/crds/resource.nvidia.com_computedomains.yaml index 5a28ae17ca..0811b3ce2c 100644 --- a/deployments/gpu-operator/crds/resource.nvidia.com_computedomains.yaml +++ b/deployments/gpu-operator/crds/resource.nvidia.com_computedomains.yaml @@ -66,12 +66,13 @@ spec: - resourceClaimTemplate type: object numNodes: + default: 0 description: |- Intended number of IMEX daemons (i.e., individual compute nodes) in the ComputeDomain. Must be zero or greater. With `featureGates.IMEXDaemonsWithDNSNames=true` (the default), this is - recommended to be set to zero. Workload must implement and consult its + recommended to be set to zero (default). Workload must implement and consult its own source of truth for the number of workers online before trying to share GPU memory (and hence triggering IMEX interaction). When non-zero, `numNodes` is used only for automatically updating the global @@ -91,10 +92,10 @@ spec: The `numNodes` parameter is deprecated and will be removed in the next API version. + minimum: 0 type: integer required: - channel - - numNodes type: object x-kubernetes-validations: - message: A computeDomain.spec is immutable