This message was deleted.
# longhorn-storage
a
This message was deleted.
l
Anyone? Thanks.
b
the removal of worker nodes
I don't know, but this makes me think you're running in the cloud somewhere and not on baremetal? Some sort of scaler? There might be another way to block the removal depending on where you're running, but you'd need to include that info for context.
l
Yeah also relevant when autoscaling. But, this here is in the context of e.g. upgrading k3s on the cluster … where going by the cattle not pets approach and therefore NOT in-place upgrading but rather introducing new workers on the cluster ( on a newer k3s version ) and then removing old ones.
b
I still think the mechanism by which you're auto scaling and environment might be relevant, but then again...
l
We have both on-prem clusters and cloud
b
That's not really specific.
VMware? Proxmox? Baremetal?
You're provisioning with elemental?
See what I mean?
(again, I don't know, but I image it might be helpful for those in the community that might be able to help with the overall goal)
l
Hmm nope. Sorry not trying to sound annoyed here or anything like it. The initial question I ask - I think - is quite to the core … anything missing in regards to giving pointers on how to, in an automated fashion, control whether engine upgrades are ongoing?
I really appreciate your time on this as well
b
Why even bother checking status? • Add a new node. • Mark it as a Longhorn node and wait for it to be ready. • Mark the node you're killing as disabled and set Eviction to True. • Wait until replicas = 0 • Delete the node.
l
Because I’ve experienced what making the mistake of removing workers also acting as longhorn nodes from the cluster … before engine upgrades had completed fully.
l
Thank you @famous-journalist-11332 for chiming in. I already have that setting enabled. So I want to be able to know. E.g. in the case someone or something else upgrades longhorn and I run our introducing change code to e.g. upgrade k3s ( NOT in-place - removing old workers and introducing new ones ). From the outside - whether or not any engine upgrade is going on.