Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mig config watch then reload config file #108

Open
lengrongfu opened this issue Aug 17, 2024 · 1 comment · May be fixed by #111
Open

Add mig config watch then reload config file #108

lengrongfu opened this issue Aug 17, 2024 · 1 comment · May be fixed by #111

Comments

@lengrongfu
Copy link

NVIDIA/gpu-operator#891

About this issue, I want to add some logic to watch for changes in the /mig-parted-config/config.yaml file and trigger a reload of the configuration file.

@lengrongfu lengrongfu linked a pull request Aug 20, 2024 that will close this issue
@lengrongfu
Copy link
Author

lengrongfu commented Aug 20, 2024

eg:
custom-config before config value is:

version: v1
mig-configs:
 custom-config:
    - devices: all
       mig-enabled: true
       mig-devices:
         3g.40gb: 2

custom-config after config value is:

version: v1
mig-configs:
 custom-config:
    - devices: all
       mig-enabled: true
       mig-devices:
         1g.10gb: 3
         2g.20gb: 2

When only config is modified, mig-pared apply will not be triggered.

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 a pull request may close this issue.

1 participant