Skip to content

Add procMount to nodesets Helm template - #2356

Open
t-chamb wants to merge 2 commits into
nebius:mainfrom
t-chamb:fix/nodesets-helm-procmount
Open

t-chamb wants to merge 2 commits into
nebius:mainfrom
t-chamb:fix/nodesets-helm-procmount

Conversation

@t-chamb

@t-chamb t-chamb commented Mar 24, 2026

Copy link
Copy Markdown

Add procMount passthrough to nodesets Helm template. The CRD supports it (#1980) but the Helm template omits it.

The NodeSet CRD supports procMount (added in nebius#1980) and the operator
renders it in the StatefulSet, but the nodesets Helm template does not
pass it through. This prevents Helm-based deployments from setting
procMount without manually patching the rendered CR.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds procMount passthrough support to the NodeSet Helm chart so users can set the container proc mount type via values, aligning the chart output with the CRD capabilities introduced in #1980.

Changes:

  • Document slurmd.security.procMount in helm/nodesets/values.yaml.
  • Template optional spec.slurmd.security.procMount into the rendered NodeSet manifest.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
helm/nodesets/values.yaml Documents the new procMount setting under nodesets[*].slurmd.security.
helm/nodesets/templates/nodeset.yaml Conditionally renders spec.slurmd.security.procMount when provided in values.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread helm/nodesets/values.yaml Outdated
limitsConfig: ""
# Proc mount type for the slurmd container
# Optional, valid values: "Default", "Unmasked"
# procMount: ""

Copilot AI Mar 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new values.yaml example suggests procMount: "", but the CRD enum doesn’t allow an empty string (and in this chart it would also be treated as “unset” and omitted). Consider changing the commented example to a valid value (e.g. "Default" or "Unmasked") so users don’t copy an ineffective/invalid setting.

Suggested change
# procMount: ""
# procMount: "Default"
Copilot uses AI. Check for mistakes.
Comment on lines +137 to +139
{{- with (get (.security | default dict) "procMount") }}
procMount: {{ . | quote }}
{{- end }}

Copilot AI Mar 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds spec.slurmd.security.procMount, but the NodeSet CRD also supports spec.munge.security.procMount (same enum). If the intent is full “procMount passthrough” for NodeSets, consider templating it for the munge container as well (and documenting it in values.yaml), otherwise it’s unclear why only slurmd is supported.

Copilot uses AI. Check for mistakes.

This branch was previously deployed

1 inactive deployment
fork-ci — d508f8f5 Deployed Mar 25, 2026 by t-chamb via Authorize #6102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

helm Functional changes in Helm charts

3 participants