22 lines
484 B
YAML
22 lines
484 B
YAML
|
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:v1.18.6-k3s1
|
||
|
serviceAccountName: system-upgrade
|
||
|
upgrade:
|
||
|
image: rancher/k3s-upgrade
|
||
|
channel: https://update.k3s.io/v1-release/channels/stable
|