[Feature]: add webhook to validate nvidiadriver CR requests
@abrarshivani is already working on this.
Since Aug 5, 2026.
- Dominant language
- Go
- Stars
- 2.9k
- Forks
- 552
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 90
Description
Requestor: @rajathagasthya
Summary
Introduce a validating admission webhook for NVIDIA Driver Custom Resources (CRs) to detect and reject overlapping CR definitions, ensuring that only mutually exclusive NVIDIA Driver CRs are admitted into the cluster.
Motivation
In environments where multiple NVIDIA Driver CRs are defined, there is currently no safeguard preventing overlapping specifications (e.g., targeting the same nodes or GPUs). Multiple NVIDIA Driver CRs may unintentionally target the same set of nodes due to overlapping nodeSelector labels.
Proposal
Implement a Kubernetes validating admission webhook that intercepts CREATE and UPDATE operations for NVIDIA Driver CRs and enforces non-overlapping targeting rules.
The webhook will:
Evaluate the effective node selection criteria of the incoming CR
Compare it against all existing NVIDIA Driver CRs in the cluster
Detect overlaps in targeted node sets
Reject the request if any overlap is found
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.