Repository navigation
docs(gpu-operator): State that the DRA Driver is opt-in - #535
mikemckiernan wants to merge 2 commits into
Conversation
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Documentation preview |
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Signed-off-by: Mike McKiernan <mmckiernan@nvidia.com>
ba784f8 to
5f55d09
Compare
| $ systemctl disable --now nvidia-imex.service | ||
| $ systemctl mask nvidia-imex.service | ||
|
|
||
| .. _dra-driver-install: |
There was a problem hiding this comment.
🔍 Install links skip required setup
The dra-driver-install links land below Prerequisites. Readers reach helm upgrade --install without seeing the CDI setup or the requirement to use a cluster without a ClusterPolicy resource.
Was this helpful? React with 👍 or 👎 to provide feedback.
| By default, the Operator does not install the DRA Driver. | ||
| Refer to :ref:`Install the DRA Driver <dra-driver-install>` for the commands. |
There was a problem hiding this comment.
🔍 Opt-out versus removal left undocumented
The page explains how to opt in but omits the stated distinction between opting out and removing an existing installation. Setting gpuCluster.deployCR=false on upgrade leaves the existing GPUCluster resource in place.
Was this helpful? React with 👍 or 👎 to provide feedback.
| .. code-block:: console | ||
|
|
||
| $ systemctl disable --now nvidia-imex.service | ||
| $ systemctl mask nvidia-imex.service | ||
| $ systemctl disable --now nvidia-imex.service | ||
| $ systemctl mask nvidia-imex.service |
There was a problem hiding this comment.
🔍 Unchained IMEX commands share one block
The systemctl commands share a console block without &&. The console command guidelines require separate blocks or explicit chaining.
Was this helpful? React with 👍 or 👎 to provide feedback.
| The DRA Driver kubelet-plugin DaemonSet runs a GPU container and, | ||
| when ComputeDomain support is enabled, a ComputeDomain container. | ||
| The DRA validator and enabled telemetry operands run one pod on each GPU node. | ||
| The DRA validator and enabled telemetry components run one pod on each GPU node. | ||
| The validator allocates a GPU through a ``ResourceClaim`` and verifies that the device is usable. |
There was a problem hiding this comment.
🔍 Bare Kubernetes kind names in prose
The revised comparison, validation, and uninstall prose uses bare kind names such as GPUCluster, ResourceClaim, and DaemonSet. The object-type guidelines call for lowercase terms or an accompanying noun such as “resource.”
Was this helpful? React with 👍 or 👎 to provide feedback.
Signed-off-by: Mike McKiernan <mmckiernan@nvidia.com>
Summary
The DRA Driver page never said whether the GPU Operator installs the DRA Driver by default, or which value turns it on or off. Readers also had to work out what the
gpuCluster.deployCR,clusterPolicy.deployCR, anddriver.nvidiaDriverCRD.enabledvalues do from the Helm commands alone. The "DRA driver operands" wording was jargon, and a link sent readers back to the page they were already on.dra-intro-install.rstgpuCluster.deployCR=trueandclusterPolicy.deployCR=false. If the Operator also installs the GPU driver, setdriver.nvidiaDriverCRD.enabled=truetoo.gpuCluster.deployCRor set it tofalse.gpuCluster.deployCR=falsedoesn't remove the DRA Driver.--setvalue does. It also says thatdriver.nvidiaDriverCRD.enabledcontrols the NVIDIA GPU driver, not the DRA Driver.dra-driver-installanddra-driver-uninstallanchors for the new cross-references.getting-started.rst: rewrites theclusterPolicy.deployCR,gpuCluster.deployCR, anddriver.nvidiaDriverCRD.enabledchart option rows in reader terms, and links them to the install anchor instead of the page.I checked each behavior claim against the GPU Operator
v26.7.2chart:values.yaml):clusterPolicy.deployCR: trueandgpuCluster.deployCR: false.templates/validations.yaml): the chart fails when bothdeployCRvalues aretrue. It also fails whengpuCluster.deployCR=true,driver.enabled=true, anddriver.nvidiaDriverCRD.enabled=false.templates/gpucluster.yaml): theGPUClusterresource hashelm.sh/resource-policy: keep, and a pre-delete cleanup hook deletes it when you uninstall.Review notes
clusterPolicy.deployCR=falsewording. The Install list says this value "disables the NVIDIA Kubernetes Device Plugin". The value actually skips the wholeClusterPolicyresource. Should the wording say that instead?kubectl delete gpucluster gpu-clustera supported way to remove the DRA Driver and keep the GPU Operator? The page doesn't mention it.gpuCluster.deployCR=true" now repeats the new opening answer. Keep it or cut it?dra-intro-install.rst. A test merge of the two branches had no conflicts.Validation
./repo docs -p gpu-operatoringhcr.io/nvidia/cloud-native-docs:0.5.1gives the same 41 warnings and errors before and after this change. They include the existing tab-set errors and unreachable external inventories.I drafted this change with Devin, an AI assistant.
Link to Devin session: https://nvidia-cloud.devinenterprise.com/sessions/c60207a0e98342e98cefb31c56508ff6
Open in Devin Desktop: https://nvidia-cloud.devinenterprise.com/desktop/session/c60207a0e98342e98cefb31c56508ff6?variant=devin
Requested by: @mikemckiernan