mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-31 01:44:47 +07:00
refactor(k3s): remove system upgrade controller
More trouble than it's worth. Update Ansible to upgrade k3s instead.
This commit is contained in:
parent
774e6086b4
commit
54e071e0f2
@ -1,26 +0,0 @@
|
||||
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
|
||||
version: v1.27.1+k3s1
|
@ -1,10 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- server.yaml
|
||||
- agent.yaml
|
||||
|
||||
commonAnnotations:
|
||||
# TODO https://github.com/rancher/system-upgrade-controller/issues/172
|
||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
@ -1,21 +0,0 @@
|
||||
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
|
||||
version: v1.27.1+k3s1
|
@ -1,6 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- https://github.com/rancher/system-upgrade-controller/releases/download/v0.8.1/system-upgrade-controller.yaml
|
||||
- k3s
|
Loading…
Reference in New Issue
Block a user