Skip to content

charts/agent: Run hardware discovery in init container#857

Draft
DrewBloechl wants to merge 4 commits intoNVIDIA:mainfrom
DrewBloechl:drew/agent-init-container
Draft

charts/agent: Run hardware discovery in init container#857
DrewBloechl wants to merge 4 commits intoNVIDIA:mainfrom
DrewBloechl:drew/agent-init-container

Conversation

@DrewBloechl
Copy link
Copy Markdown
Contributor

Description

Run the hardware discovery code from an init container. This will need some permissions (TBD) granted so that the init container can see the hardware details it needs.

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Related Issues (Optional)

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

Additional Notes

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 8, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: forge-dpu-agent-init
securityContext:
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.

it will need extra permissions, right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I just pushed a change that sets:

procMount: Unmasked
privileged: true

...but this is still untested and there might be a more specific set of capabilities that we can grant.

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.

2 participants