Skip to content

Commit 43e205e

Browse files
committed
add warning note for downgrade error
Signed-off-by: Ian Cardoso <[email protected]>
1 parent 835094a commit 43e205e

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,43 @@ spec:
6161
```
6262

6363
The upgrade controller should watch for this plan and execute the upgrade on the labeled nodes. For more information about system-upgrade-controller and plan options please visit [system-upgrade-controller](https://github.com/rancher/system-upgrade-controller) official repo.
64+
## Warning
65+
66+
Downgrading your cluster was never supported and since versions below k3s-upgrade will cordon your nodes when downgrade is attempted:
67+
68+
- v1.27.4+k3s1
69+
- v1.26.7+k3s1
70+
- v1.25.12+k3s1
71+
- v1.24.16+k3s1
72+
73+
if you attempted it your pods in cluster should look something like this:
74+
```
75+
ubuntu@user:~$ kubectl get pods -A
76+
NAMESPACE NAME READY STATUS RESTARTS AGE
77+
kube-system coredns-77ccd57875-9ng74 1/1 Running 0 19h
78+
kube-system local-path-provisioner-957fdf8bc-9vwzn 1/1 Running 0 19h
79+
kube-system metrics-server-648b5df564-wzbnh 1/1 Running 0 19h
80+
kube-system svclb-traefik-0bda8e84-hbjq8 2/2 Running 0 19h
81+
kube-system svclb-traefik-0bda8e84-jg94l 2/2 Running 0 19h
82+
kube-system svclb-traefik-0bda8e84-qkcs7 2/2 Running 0 19h
83+
kube-system svclb-traefik-0bda8e84-tfhjq 2/2 Running 0 19h
84+
kube-system traefik-64f55bb67d-4mm6s 1/1 Running 0 19h
85+
system-upgrade apply-k3s-server-on-ip-172-31-0-16-with-7af95590a5af8e8c3-2cdc6 0/1 Error 0 9m25s
86+
system-upgrade apply-k3s-server-on-ip-172-31-10-23-with-7af95590a5af8e8c-9xvwg 0/1 Error 0 14m
87+
system-upgrade apply-k3s-server-on-ip-172-31-13-213-with-7af95590a5af8e8-8j72v 0/1 Error 0 18m
88+
system-upgrade system-upgrade-controller-7c4b84d5d9-kkzr6 1/1 Running 0 20m
89+
```
90+
and your nodes something like this:
91+
```
92+
NAME STATUS ROLES AGE VERSION
93+
ip-172-31-0-16 Ready,SchedulingDisabled control-plane,etcd,master 19h v1.27.4+k3s1
94+
ip-172-31-10-23 Ready,SchedulingDisabled control-plane,etcd,master 19h v1.27.4+k3s1
95+
ip-172-31-13-213 Ready,SchedulingDisabled control-plane,etcd,master 19h v1.27.4+k3s1
96+
ip-172-31-2-13 Ready <none> 19h v1.27.4+k3s1
97+
```
98+
99+
You can make your node schedulable again by simpling uncordoning target node with the command `kubectl uncordon NODE_NAME` or if you can set the version on your plan file to a newer one so k3s-upgrade can attempt again to upgrade your version.
100+
64101

65102
# Contact
66103
For bugs, questions, comments, corrections, suggestions, etc., open an issue in

0 commit comments

Comments
 (0)