adamant-kite-43734
09/06/2023, 12:23 PMaloof-branch-69545
09/07/2023, 6:17 AMaloof-branch-69545
09/07/2023, 6:19 AMmillions-engine-33820
09/07/2023, 11:42 AMmillions-engine-33820
09/07/2023, 11:44 AMaloof-branch-69545
09/11/2023, 1:28 AMRKE will cordon each node before upgrading it, and uncordon the node afterward. RKE can also be configured to drain nodes before upgrading them.
according the text from to this doc: https://rke.docs.rancher.com/upgrades/how-upgrades-workmillions-engine-33820
09/11/2023, 7:25 AMaloof-branch-69545
09/12/2023, 1:59 AMpolite-wire-74609
10/11/2023, 10:22 PMkubectl get pdb -n longhorn-system
NAME MIN AVAILABLE MAX UNAVAILABLE ALLOWED DISRUPTIONS AGE
instance-manager-bc6044472b3fac7954484150f26da8ef 1 N/A 0 83d
instance-manager-5a9bc9230d731c8d85994f161cd1be02 1 N/A 0 83d
instance-manager-1b1df4ea7096c59a0363c2b75a0a4089 1 N/A 0 55d
csi-attacher 1 N/A 2 17d
csi-provisioner 1 N/A 2 17d
if i remove pdb it drains just fine.
i am running vanilla kubernetes.
questions
Is RKE by default only cordon the node without drain ?
What will be the best option to cordon / drain or just cordon ?aloof-branch-69545
10/17/2023, 8:03 AMaloof-branch-69545
10/17/2023, 8:03 AM