mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-07 05:51:17 +07:00
27 lines
605 B
YAML
27 lines
605 B
YAML
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
|
|
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
|