CLI to apply machine patches to Machines in Maintenance mode #569
-
Hello. Dumb question but how do I programatically apply a machine config on a bunch of nodes on Omni that are still in maintenance mode ?
but I am getting:
I am assuming this is due to the fact that the machines are still in maintenance mode. Maybe the correct tool to use for this is Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Machines running in maintenance mode which are adopted by Omni will not listen on their external addresses, they will only be available to Omni. It's not clear why you need to apply machine config patches in maintenance mode, if you describe your use-case, it would be easier to provide a solution. Omni doesn't apply user machine configuration to machines before they join the cluster, but there are other workarounds.
|
Beta Was this translation helpful? Give feedback.
Right now there is no "easy" way to manage machine patches which are not bound to the cluster via the CLI.
If you create a machine config patch via Omni UI, you can find it back via
omnictl get configpatches -o yaml
, and once you found it, use that as a template, and doomnictl apply -f
modifying the template for each machine.