chore(in-cluster): upgrade rke2 to v1.30.7
This commit is contained in:
parent
a1f33bd914
commit
fc15d2af69
1 changed files with 24 additions and 17 deletions
|
|
@ -11,7 +11,11 @@ spec:
|
|||
nodeSelector:
|
||||
matchExpressions:
|
||||
# When using k8s version 1.19 or older, swap control-plane with master
|
||||
- {key: node-role.kubernetes.io/control-plane, operator: In, values: ["true"]}
|
||||
- {
|
||||
key: node-role.kubernetes.io/control-plane,
|
||||
operator: In,
|
||||
values: ["true"],
|
||||
}
|
||||
tolerations:
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Equal"
|
||||
|
|
@ -23,7 +27,7 @@ spec:
|
|||
# force: true
|
||||
upgrade:
|
||||
image: rancher/rke2-upgrade
|
||||
version: v1.30.1-rke2r1
|
||||
version: v1.30.7-rke2r1
|
||||
---
|
||||
# Agent plan
|
||||
apiVersion: upgrade.cattle.io/v1
|
||||
|
|
@ -41,7 +45,11 @@ spec:
|
|||
- { 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: NotIn, values: ["true"]}
|
||||
- {
|
||||
key: node-role.kubernetes.io/control-plane,
|
||||
operator: NotIn,
|
||||
values: ["true"],
|
||||
}
|
||||
prepare:
|
||||
args:
|
||||
- prepare
|
||||
|
|
@ -53,5 +61,4 @@ spec:
|
|||
force: true
|
||||
upgrade:
|
||||
image: rancher/rke2-upgrade
|
||||
version: v1.30.1-rke2r1
|
||||
|
||||
version: v1.30.7-rke2r1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue