You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
k0sctl version v0.15.5 on NixOS, k0s 1.27.5 on Rocky 9.
As suggested in #561, misconfiguring the spec.k0s.config.spec.extensions.storage section has lead k0sctl to take down all 3 of our controllers nodes one after the other until the entire cluster was unavailable and unable to start.
The issue came up because we wanted to enable the openebs extension, but we only switched the create_default_storage_class option to true without also switching the type to openebs_local_storage. This made k0s reject the configuration during startup, because create_default_storage_class: true is not allowed with type: external_storage. k0sctl apparently didn't recognize the error state and kept going for the remaining nodes.
To reproduce:
Setup a working 3 controller cluster with create_default_storage_class: false is not allowed with type: external_storage
Apply the configuration at the end
Expected:
Update of first controller fails and k0sctl stops the rollout
I found out that the option wasn't accepted by checking the k0scontroller service logs. K0sctl just eventually bailed out because the controller didn't come up.
Early validation would be great, but for me even worse was, that it also continued on the other nodes eventually talking down the entire cluster, even though the first controller didn't come up.
k0sctl version v0.15.5 on NixOS, k0s 1.27.5 on Rocky 9.
As suggested in #561, misconfiguring the spec.k0s.config.spec.extensions.storage section has lead k0sctl to take down all 3 of our controllers nodes one after the other until the entire cluster was unavailable and unable to start.
The issue came up because we wanted to enable the openebs extension, but we only switched the
create_default_storage_class
option to true without also switching thetype
toopenebs_local_storage
. This made k0s reject the configuration during startup, becausecreate_default_storage_class: true
is not allowed withtype: external_storage
. k0sctl apparently didn't recognize the error state and kept going for the remaining nodes.To reproduce:
create_default_storage_class: false
is not allowed withtype: external_storage
Expected:
Update of first controller fails and k0sctl stops the rollout
Actual:
All 3 nodes go down
The text was updated successfully, but these errors were encountered: