Add usb node auto-updater
This commit is contained in:
parent
b5965274a4
commit
ef12abb865
1 changed files with 26 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
||||||
# Server plan
|
|
||||||
apiVersion: upgrade.cattle.io/v1
|
apiVersion: upgrade.cattle.io/v1
|
||||||
kind: Plan
|
kind: Plan
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -18,7 +17,6 @@ spec:
|
||||||
image: rancher/k3s-upgrade
|
image: rancher/k3s-upgrade
|
||||||
channel: https://update.k3s.io/v1-release/channels/stable
|
channel: https://update.k3s.io/v1-release/channels/stable
|
||||||
---
|
---
|
||||||
# Agent plan
|
|
||||||
apiVersion: upgrade.cattle.io/v1
|
apiVersion: upgrade.cattle.io/v1
|
||||||
kind: Plan
|
kind: Plan
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -40,3 +38,29 @@ spec:
|
||||||
upgrade:
|
upgrade:
|
||||||
image: rancher/k3s-upgrade
|
image: rancher/k3s-upgrade
|
||||||
channel: https://update.k3s.io/v1-release/channels/stable
|
channel: https://update.k3s.io/v1-release/channels/stable
|
||||||
|
---
|
||||||
|
apiVersion: upgrade.cattle.io/v1
|
||||||
|
kind: Plan
|
||||||
|
metadata:
|
||||||
|
name: agent-plan-rtlsdr
|
||||||
|
namespace: system-upgrade
|
||||||
|
spec:
|
||||||
|
concurrency: 1
|
||||||
|
cordon: true
|
||||||
|
nodeSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: node-role.kubernetes.io/control-plane
|
||||||
|
operator: DoesNotExist
|
||||||
|
tolerations:
|
||||||
|
- key: "rtlsdr"
|
||||||
|
value: "true"
|
||||||
|
effect: "NoSchedule"
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in a new issue