feat(cluster): add kured as optional deployment
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
6 files changed
+45
-5
No files matched your search
@@ -43,6 +43,12 @@ export BOOTSTRAP_AGE_PUBLIC_KEY=""
|
|||||||
# e.g. 192.168.1.254
|
# e.g. 192.168.1.254
|
||||||
export BOOTSTRAP_KUBE_VIP_ADDR=""
|
export BOOTSTRAP_KUBE_VIP_ADDR=""
|
||||||
|
|
||||||
|
# Choose your timezone
|
||||||
|
# Used to set your systems timezone
|
||||||
|
# and Kured timezone
|
||||||
|
# e.g. America/New_York
|
||||||
|
export BOOTSTRAP_TIMEZONE="Etc/UTC"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Ansible related variables
|
# Ansible related variables
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -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
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
# - kured
|
||||||
- metrics-server
|
- metrics-server
|
||||||
- reflector
|
- reflector
|
||||||
- reloader
|
- reloader
|
||||||
@@ -2,11 +2,6 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
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
|
# - system-upgrade
|
||||||
- default
|
- default
|
||||||
- kube-system
|
- kube-system
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
name: cluster-settings
|
name: cluster-settings
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
data:
|
data:
|
||||||
|
TIMEZONE: ${BOOTSTRAP_TIMEZONE}
|
||||||
METALLB_LB_RANGE: ${BOOTSTRAP_METALLB_LB_RANGE}
|
METALLB_LB_RANGE: ${BOOTSTRAP_METALLB_LB_RANGE}
|
||||||
METALLB_K8S_GATEWAY_ADDR: ${BOOTSTRAP_METALLB_K8S_GATEWAY_ADDR}
|
METALLB_K8S_GATEWAY_ADDR: ${BOOTSTRAP_METALLB_K8S_GATEWAY_ADDR}
|
||||||
METALLB_TRAEFIK_ADDR: ${BOOTSTRAP_METALLB_TRAEFIK_ADDR}
|
METALLB_TRAEFIK_ADDR: ${BOOTSTRAP_METALLB_TRAEFIK_ADDR}
|
||||||
Reference in new issue
Block a user