2022-01-23 13:49:42 +07:00
|
|
|
apiVersion: upgrade.cattle.io/v1
|
|
|
|
kind: Plan
|
|
|
|
metadata:
|
|
|
|
name: k3s-agent
|
|
|
|
namespace: system-upgrade
|
|
|
|
labels:
|
|
|
|
k3s-upgrade: agent
|
|
|
|
spec:
|
|
|
|
nodeSelector:
|
|
|
|
matchExpressions:
|
|
|
|
- key: node-role.kubernetes.io/control-plane
|
|
|
|
operator: DoesNotExist
|
|
|
|
serviceAccountName: system-upgrade
|
|
|
|
prepare:
|
|
|
|
image: rancher/k3s-upgrade
|
|
|
|
args:
|
|
|
|
- prepare
|
|
|
|
- k3s-server
|
2022-01-23 14:12:11 +07:00
|
|
|
concurrency: 1
|
2022-01-23 13:49:42 +07:00
|
|
|
cordon: true
|
|
|
|
drain:
|
|
|
|
force: true
|
|
|
|
skipWaitForDeleteTimeout: 300 # Honor PodDisruptionBudgets
|
|
|
|
upgrade:
|
|
|
|
image: rancher/k3s-upgrade
|
|
|
|
channel: https://update.k3s.io/v1-release/channels/v1.23
|