chore(in-cluster): change update plan to match latest example
https://docs.rke2.io/upgrade/automated_upgrade
This commit is contained in:
parent
3633518344
commit
1153794604
1 changed files with 3 additions and 4 deletions
|
|
@ -10,8 +10,6 @@ spec:
|
|||
concurrency: 1
|
||||
nodeSelector:
|
||||
matchExpressions:
|
||||
- {key: rke2-upgrade, operator: Exists}
|
||||
- {key: rke2-upgrade, operator: NotIn, values: ["disabled", "false"]}
|
||||
# When using k8s version 1.19 or older, swap control-plane with master
|
||||
- {key: node-role.kubernetes.io/control-plane, operator: In, values: ["true"]}
|
||||
tolerations:
|
||||
|
|
@ -25,7 +23,7 @@ spec:
|
|||
# force: true
|
||||
upgrade:
|
||||
image: rancher/rke2-upgrade
|
||||
version: v1.30.1+rke2r1
|
||||
version: v1.30.1-rke2r1
|
||||
---
|
||||
# Agent plan
|
||||
apiVersion: upgrade.cattle.io/v1
|
||||
|
|
@ -39,6 +37,7 @@ spec:
|
|||
concurrency: 2
|
||||
nodeSelector:
|
||||
matchExpressions:
|
||||
- {key: beta.kubernetes.io/os, operator: In, values: ["linux"]}
|
||||
- {key: rke2-upgrade, operator: Exists}
|
||||
- {key: rke2-upgrade, operator: NotIn, values: ["disabled", "false"]}
|
||||
# When using k8s version 1.19 or older, swap control-plane with master
|
||||
|
|
@ -54,5 +53,5 @@ spec:
|
|||
force: true
|
||||
upgrade:
|
||||
image: rancher/rke2-upgrade
|
||||
version: v1.30.1+rke2r1
|
||||
version: v1.30.1-rke2r1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue