This message was deleted.
# general
a
This message was deleted.
c
pod disruption budgets are the responsibility of the application, if you can’t drain nodes because it would violate PDB that’s not a SUC problem.
either don’t drain, or fix the pdb
a
Interesting thanks. I'm using the same plan I used for the last couple of upgrades and I don't remember running into this. Although that was with Longhorn 1.5.x, so maybe something changed in 1.6.x. Is it safe to upgrade without draining? If not, do you know where that setting would be in Longhorn? I didn't explicitly set a pdb
reading through that bug report now
c
generally it is safe to upgrade without draining. There is just a momentary outage of the apiserver while things restart, and pods usually tolerate that fine.
a
Would you recommend deleting the pdb or just not worry about draining?
it's just test (for now) so I won't blame you if something goes wrong 🙂
I tried it without the drain and it seemed to work fine
Actually, now that it's hitting the nodes that have running longhorn replicas, it's causing them to rebuild. If it hits all 3 nodes that have replicas of an attached volume, I'm guessing it'll corrupt that volume. In that case this will require a full outage with all volumes being detaching when upgrading production. Last time it worked fine even with attached volumes, because it wouldn't drain the node with the last healthy replica.