Limitations
GPU driver management in CKS has the following limitations:- Manifest configuration: Set GPU driver versions in the Node Pool manifest using
kubectl, GitOps, or the Cloud Console manifest editor. - Limited version updates: You can select only major versions. When CoreWeave publishes a minor update for your pool, CKS initially marks it as pending with
Manualor the defaultOnSpecUpdatestrategy. WithAlways, CKS stages it automatically. - GPU driver release channels: You can’t select a driver by the
latestorstablechannel.
Create a new Node Pool with a specific driver version
Driver versions are configured in the Node Pool manifest. To select a driver version, add thegpu section to your Node Pool manifest’s spec section, specifying the desired major version without dots.
For example, for an H100 Node Pool, specify the driver version as 580:
spec.gpu.version, Nodes use the driver bundled with the image CKS selects for their instance type. If you pin an image with spec.image.name, Nodes use that image’s driver.
Update the driver version on an existing Node Pool
For maintenance requirements, see Plan maintenance for rack-based instances. To update a Node Pool that already specifies a driver version, changespec.gpu.version in its manifest. In the updated example, replace [TARGET-DRIVER-MAJOR] with a supported driver major version for your instance type that you have tested with your workload.
Original Node Pool manifest
Updated Node Pool manifest
Apply GPU driver updates
With the default node configuration update strategyOnSpecUpdate, updating the driver version automatically stages the new configuration onto the Node Pool. You can then queue a reconfigure reboot for existing Nodes to apply the change. For more information about configuration management, see Manage Node Pool configuration.
Pin an exact driver version
Thegpu.version field selects only the major version. CKS selects the specific minor within that major. To pin an exact driver minor (for example, for reproducibility or a known-good version), set image.name. The ncore image bundles a specific driver, so pinning the image pins the driver.
To pin a minor version, set image.name in the Node Pool manifest to the specific ncore image that carries the driver you need. To identify the correct image name for your instance type and target driver version, contact Support.
Driver and container compatibility
The driver version on the host and the CUDA toolkit version inside your container are separate. A newer driver generally runs an older CUDA image. In the other direction, a container built with a newer CUDA toolkit runs on an older host driver only within NVIDIA’s compatibility ranges, such as minor version compatibility within the same major CUDA release. Outside those ranges, the host driver must be at least as new as the CUDA toolkit your image needs. Follow these guidelines to manage driver and container compatibility:- Confirm compatibility against the NVIDIA CUDA compatibility documentation.
- Pin both the driver (per Node Pool) and the container image (per workload) when you need reproducibility. Pinning only one leaves a moving part.
- Don’t install or replace the GPU driver from inside your container or with a custom DaemonSet. CKS manages the host driver, and overriding it leads to conflicts.
- If a workload reports a driver or CUDA mismatch at startup, the most common cause is a container requiring a newer driver than the host provides. Move the workload to a Node Pool with a newer driver, or rebuild the container against a toolkit compatible with the host driver.
Test and roll out a driver change safely
Changing a GPU driver under a running job can break it. Test a new driver before applying it broadly, and roll the change out in stages so you catch problems on a small set of Nodes first.Test on a dedicated test Node Pool
Validate a new driver against your workload before applying it broadly. The safest pattern is a small dedicated test Node Pool:- Create a small Node Pool of the same instance type with the new driver version set in
spec.gpu.version. See Create a Node Pool. - Schedule a representative GPU workload onto it using a
nodeSelectoror affinity that targets the test Node Pool. - Validate correctness and performance against your baseline. Confirm the driver loads (see Verify the driver version), the workload starts, and throughput matches expectations.
Canary, then roll out the rest
For rack-based instances, test and roll out driver changes by whole rack with CoreWeave Support. Don’t use a subset of Nodes within one rack as a driver canary. For IMEX managed by thenvidia-imex DaemonSet in the cw-nvidia-imex Namespace, see Recover IMEX after a rollback.
After the test Node Pool passes, update the driver in the production Node Pool manifest. Stage the configuration according to your update strategy. Staging applies to the whole Node Pool and changes the configuration used by new and replacement Nodes. Existing Nodes adopt it after a reconfigure reboot. To isolate the new configuration, continue to use a separate test Node Pool.
Before you expand the rollout, verify the driver on the canary Nodes.
- Queue a reconfigure reboot for the canary Nodes.
-
After they reboot, check the driver version on each Node. Replace
[NODE-NAMES]with their space-separated names.Confirm that each Node reports the driver version you verified in the test pool. - Run an NVIDIA Collective Communications Library (NCCL) test and a short training run. Compare step time with your baseline.
- Repeat the driver and workload checks for each batch before proceeding to the next.
Known driver behaviors to plan for
The following behaviors can appear with certain driver versions:- Progressive CUDA sync latency over Node uptime. On some driver versions, certain instances show step time gradually increasing over days of continuous Node uptime. Rebooting the Node restores normal latency, so schedule periodic reboots between runs until you move to a driver that resolves the behavior.
- Checkpoint segfaults at large scale. If you see these segfaults, call
torch.cuda.synchronize()before checkpointing and consider asynchronous checkpoint patterns.
Target driver versions using Node labels and selectors
Once your Node Pool is configured with a driver version, you can identify and target Nodes by their driver version from within Kubernetes. Driver version information is exposed on Nodes through Kubernetes labels. You can use these labels to get information on current driver versions and to target specific driver versions in your workloads.gpu.coreweave.cloud/driver-version=[DRIVER-VERSION], where [DRIVER-VERSION] is the full driver version string. For example, a Node with the label gpu.coreweave.cloud/driver-version=580.105.08-0ubuntu1 is running driver version 580.105.08-0ubuntu1.
The
gpu.coreweave.cloud/driver-version label is always applied to Nodes, even if no driver version is specified in the Node Pool manifest.Target specific driver versions in workloads
Thegpu.coreweave.cloud/driver-version label lets you target Nodes with exact driver version matches.
For more information about scheduling workloads on Nodes with specific driver versions, see Workload scheduling on CKS.
Schedule workloads on Nodes with specific driver versions
For workloads that require a specific driver version, use an exact match with thenodeSelector field:
Troubleshoot scheduling issues
If Pods fail to schedule due to driver version constraints, check the available driver versions in your cluster. Replace[POD-NAME] with the name of your Pod.
- No Nodes available with the exact driver version specified.
- Nodes with the required driver version are unavailable due to resource constraints.
- Driver version constraints conflict with other scheduling requirements.
Troubleshooting
This section covers common error conditions and how to verify the active driver version on your Nodes.Common error conditions
If you encounter issues with driver configuration, check the Node Pool status for error conditions:Node Pool errorsFor more information about Node Pool events and possible error conditions, see Node Pool events.
Verify the driver version
To see the staged configuration and how many Nodes have adopted each revision, inspect the Node Pool. Replace[NODE-POOL-NAME] with the name of your Node Pool.
nvidia-smi in a GPU-enabled container on the Node you want to check. Replace [POD-NAME] with the name of a Pod where the tool is available.