feat(cluster): add kured as optional deployment

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-06-09 09:13:42 -04:00
1 parent 46f1a392fb
commit 3a5b188e9a
6 files changed
+45 -5

No files matched your search

@@ -0,0 +1,32 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: kured
namespace: kube-system
spec:
interval: 5m
chart:
spec:
chart: kured
version: 2.15.0
sourceRef:
kind: HelmRepository
name: weaveworks-kured-charts
namespace: flux-system
interval: 5m
install:
createNamespace: true
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
configuration:
annotateNodes: true
startTime: "10pm"
endTime: "2am"
logFormat: "json"
rebootCommand: "/bin/systemctl reboot"
timeZone: "${TIMEZONE}"
@@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
@@ -2,6 +2,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# - kured
- metrics-server
- reflector
- reloader
-5
View File
@@ -2,11 +2,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# Be sure to NOT downgrade k3s by keep the value in
# ./provision/ansible/inventory/group_vars/kubernetes/k3s.yml
# updated if you need to re-run the Ansible playbook.
# To enable automatic Kubernetes upgrades uncomment
# the below line
# - system-upgrade
- default
- kube-system