elemental icon indicating copy to clipboard operation
elemental copied to clipboard

Allow to update cloud config after bootstrap

Open mudler opened this issue 3 years ago • 3 comments

Currently the cloud config specified to bootstrap a node is consumed only during installation, not giving any way to update it on the machine.

This card is about having a mechanism that reacts to changes to the cloudConfig and propagates the updates over the nodes. This can be done in different ways, via specific workloads or for example, we could try to re-use system-upgrade-controller for such task.

Related: https://github.com/rancher-sandbox/cOS-toolkit/issues/749

mudler avatar May 13 '22 06:05 mudler

I'd vote against this issue, as it will bring confusion and chaos. Like people expecting to re-partition (without losing data 😆 )

In the container world, systems are considered 'cattle'. If one doesn't behave, you shoot it down and re-install. That's what we should offer for this use-case.

kkaempf avatar May 13 '22 07:05 kkaempf

yes, I find it as well confusing. I'd be more appealed with a solution among the lines of https://github.com/rancher-sandbox/cOS-toolkit/issues/749, which is completely decoupled from the current implementation, and "opt-in"

mudler avatar May 13 '22 07:05 mudler

I think this can be already achieved with system-upgrade-controller by the way. It just needs to be instrumented specifically to do so.

mudler avatar May 13 '22 07:05 mudler