[Feature]: add webhook to validate nvidiadriver CR requests
@abrarshivani is already working on this.
Since Aug 5, 2026.
Assessment
This issue has not been assessed yet.
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
- Dominant language
- Go
- Stars
- 2.9k
- Forks
- 552
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 88
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.
More from NVIDIA/gpu-operator
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NVIDIA/gpu-operator#2955 ·
-
lifecycle/stale question
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
NVIDIA/gpu-operator#2280 · 2 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
NVIDIA/gpu-operator#2957 ·
-
feature lifecycle/frozen needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 65/100
NVIDIA/gpu-operator#2938 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
NVIDIA/gpu-operator#2923 ·
All issues in NVIDIA/gpu-operator
Similar issues
-
bug github_actions
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
registrystack/registry-stack#1393 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
JakeChampion/lang#10213 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
oasisprotocol/oasis-sdk#2523 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100