Skip to content

Apply validator resources to init containers#2557

Open
Shivkumar13 wants to merge 1 commit into
NVIDIA:mainfrom
Shivkumar13:gh-702-init-container-resources
Open

Apply validator resources to init containers#2557
Shivkumar13 wants to merge 1 commit into
NVIDIA:mainfrom
Shivkumar13:gh-702-init-container-resources

Conversation

@Shivkumar13

Copy link
Copy Markdown
Collaborator

Fixes #702.

This change applies the existing spec.validator.resources settings to validator init containers as well as the main validator container. The affected init containers run the validator image for driver, toolkit, CUDA, and plugin checks, so using the existing validator resource field keeps the API surface unchanged while making those init containers configurable.

Validation:

  • go test ./controllers -run TestTransformValidatorComponentWithResources -count=1
  • go test ./controllers -run TestTransformValidator -count=1
  • go test ./controllers -run TestTransformSandboxValidator -count=1

Signed-off-by: Shivkumar Ople <sople@nvidia.com>
@Shivkumar13 Shivkumar13 force-pushed the gh-702-init-container-resources branch from 73f0040 to 98cfccd Compare June 17, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InitContainers have non configurable and explicitely empty resrources

1 participant