-
Notifications
You must be signed in to change notification settings - Fork 599
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
Prompt if reboot is required when apply affect may need one. #6394
Comments
It's complicated, as images are pulled by Talos and CRI. Talos applies any changes on the fly. CRI applies some changes on the fly, and some not. CRI should be fixed eventually to support reloading everything on the fly, but it's not something we have control over. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
It's not stale but unresolved. |
Is this request asking if we can have the CLI print something like |
Yeh that's accurate, if there's a modified config that it's known requires a reboot to take effect. Possibly it might be better worded like "Configuration applied, changes affected on reboot: [.machine.registries, etc...]" with a view to seeing that too with If this is a whole thing then maybe close the issue. But seeing as the docs know this, maybe the cli types can react to it quite simply? I've not really had this next example with Talos but before I've seen config changes made weeks/months ago that broke everything, but that only applied on reboot, so once a reboot finally happened, the thing to fix wasn't recent at all. I think this is important as your config yaml evolves from patches to a git tracked file instead of regenerated from scratch each the time, new defaults can get missed. Maybe I'm always supposed to start patching machine config from newly generated configs. |
The "defaults" don't change over time, as long as you properly generated "base layer" of the machine configuration:
The This way even if you update |
Feature Request
Updated machine registry config requires a reboot, but the cli does not warn you;
> talosctl apply -f controlplane.yaml Applied configuration without a reboot
Kind of implies to me there's a check if a reboot might be required on apply.
Description
Within the manual;
So upon applying that change the CLI could know it won't take effect until reboot. I think not automatically rolling out reboots is the correct behaviour.
The text was updated successfully, but these errors were encountered: