khuedoan-homelab/system/system-upgrade/k3s/server.yaml
2022-01-23 14:12:11 +07:00

22 lines
514 B
YAML

apiVersion: upgrade.cattle.io/v1
kind: Plan
metadata:
name: k3s-server
namespace: system-upgrade
labels:
k3s-upgrade: server
spec:
nodeSelector:
matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: Exists
serviceAccountName: system-upgrade
concurrency: 1
cordon: true
drain:
force: true
skipWaitForDeleteTimeout: 300 # Honor PodDisruptionBudgets
upgrade:
image: rancher/k3s-upgrade
channel: https://update.k3s.io/v1-release/channels/v1.23