Skip to content

Conversation

@rajathagasthya
Copy link
Contributor

@rajathagasthya rajathagasthya commented Jan 14, 2026

Description

Removes static, handcrafted MIG config file and uses config generated dynamically by mig-parted CLI, if a custom config is not specified.

Checklist

  • No secrets, sensitive information, or unrelated changes
  • Lint checks passing (make lint)
  • Generated assets in-sync (make validate-generated-assets)
  • Go mod artifacts in-sync (make validate-modules)
  • Test cases are added for new code paths

Testing

Tested by deplying MIG manager changes in NVIDIA/mig-parted#295 on nodes with different types of GPUs to verify generated config. More testing steps will be added later.

@rajathagasthya rajathagasthya changed the title WIP: Add support for dynamic MIG config generation Add support for dynamic MIG config generation Jan 22, 2026
@rajathagasthya rajathagasthya marked this pull request as ready for review January 22, 2026 18:08
Removes static, handcrafted MIG config file and uses config generated
dynamically by mig-parted CLI, if a custom config is not specified.

Signed-off-by: Rajath Agasthya <ragasthya@nvidia.com>
Test the conditional ConfigMap mounting logic for custom MIG config:
* Unit tests verify volume, volumeMount, and CONFIG_FILE env var
* Integration tests verify end-to-end daemonset creation

Signed-off-by: Rajath Agasthya <ragasthya@nvidia.com>
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.

1 participant