1
0
Fork 0

feat(bee/system-upgrade-controller): upgrade to k3s 1.26

This commit is contained in:
Vojtěch Mareš 2023-01-02 21:28:34 +01:00
parent 73afe61d11
commit c2747cd6b8
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -1,13 +1,13 @@
apiVersion: upgrade.cattle.io/v1 apiVersion: upgrade.cattle.io/v1
kind: Plan kind: Plan
metadata: metadata:
name: k3s-server-v1.25 name: k3s-server-v1.26
namespace: system-upgrade namespace: system-upgrade
labels: labels:
k3s-upgrade: server k3s-upgrade: server
spec: spec:
concurrency: 1 # Batch size (roughly maps to maximum number of unschedulable nodes) concurrency: 1 # Batch size (roughly maps to maximum number of unschedulable nodes)
channel: https://update.k3s.io/v1-release/channels/v1.25 channel: https://update.k3s.io/v1-release/channels/v1.26
nodeSelector: nodeSelector:
matchExpressions: matchExpressions:
- {key: k3s-upgrade, operator: Exists} - {key: k3s-upgrade, operator: Exists}
@ -22,13 +22,13 @@ spec:
apiVersion: upgrade.cattle.io/v1 apiVersion: upgrade.cattle.io/v1
kind: Plan kind: Plan
metadata: metadata:
name: k3s-agent-v1.25 name: k3s-agent-v1.26
namespace: system-upgrade namespace: system-upgrade
labels: labels:
k3s-upgrade: agent k3s-upgrade: agent
spec: spec:
concurrency: 1 # Batch size (roughly maps to maximum number of unschedulable nodes) concurrency: 1 # Batch size (roughly maps to maximum number of unschedulable nodes)
channel: https://update.k3s.io/v1-release/channels/v1.25 channel: https://update.k3s.io/v1-release/channels/v1.26
nodeSelector: nodeSelector:
matchExpressions: matchExpressions:
- {key: k3s-upgrade, operator: Exists} - {key: k3s-upgrade, operator: Exists}
@ -39,7 +39,7 @@ spec:
prepare: prepare:
# Defaults to the same "resolved" tag that is used for the `upgrade` container, NOT `latest` # Defaults to the same "resolved" tag that is used for the `upgrade` container, NOT `latest`
image: rancher/k3s-upgrade image: rancher/k3s-upgrade
args: ["prepare", "k3s-server-v1.25"] args: ["prepare", "k3s-server-v1.26"]
drain: drain:
force: true force: true
skipWaitForDeleteTimeout: 60 # 1.18+ (honor pod disruption budgets up to 60 seconds per pod then moves on) skipWaitForDeleteTimeout: 60 # 1.18+ (honor pod disruption budgets up to 60 seconds per pod then moves on)