Now the ConfigPatch resources created with
omni.sidero.dev/machine-class: <name> label will be assigned to each machine which matches the picked machine class.
It will have higher priority than Machine and Cluster patches but will be overwritten by the ClusterMachine and MachineSet level patches.
We had a long discussion with Artem and identified two potential directions:
optimize MachineClass by extracting MachineStatus labels to a separate resource to match on (reduce wakeups to only label changes)
instead of full ConfigPatch propagation from the Machine Class on any change, copy MachineClass patches to the Machine as it joins the MachineSet from the MachineClass (less surpises on config patches changes, less computational complexity); also potentially provide a way to force patch sync
Now the
ConfigPatch
resources created withomni.sidero.dev/machine-class: <name>
label will be assigned to each machine which matches the picked machine class.It will have higher priority than Machine and Cluster patches but will be overwritten by the ClusterMachine and MachineSet level patches.
Fixes: https://github.com/siderolabs/omni/issues/31