22 lines
471 B
Plaintext
22 lines
471 B
Plaintext
apiVersion: upgrade.cattle.io/v1
|
|
kind: Plan
|
|
metadata:
|
|
name: agent-plan
|
|
namespace: system-upgrade
|
|
spec:
|
|
concurrency: 1
|
|
cordon: true
|
|
nodeSelector:
|
|
matchExpressions:
|
|
- key: node-role.kubernetes.io/master
|
|
operator: DoesNotExist
|
|
prepare:
|
|
args:
|
|
- prepare
|
|
- server-plan
|
|
image: rancher/k3s-upgrade
|
|
serviceAccountName: system-upgrade
|
|
upgrade:
|
|
image: rancher/k3s-upgrade
|
|
channel: https://update.k3s.io/v1-release/channels/stable
|