feat: swap to bjw-s app-template and remove reflector

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-08-21 12:46:31 -04:00
1 parent 229c3000c9
commit b45279ac57
8 files changed
+12 -76

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ The following components will be installed in your [k3s](https://k3s.io/) cluste
- [ingress-nginx](https://kubernetes.github.io/ingress-nginx/) - Kubernetes ingress controller used for a HTTP reverse proxy of Kubernetes ingresses - [ingress-nginx](https://kubernetes.github.io/ingress-nginx/) - Kubernetes ingress controller used for a HTTP reverse proxy of Kubernetes ingresses
- [local-path-provisioner](https://github.com/rancher/local-path-provisioner) - provision persistent local storage with Kubernetes - [local-path-provisioner](https://github.com/rancher/local-path-provisioner) - provision persistent local storage with Kubernetes
_Additional applications include [hajimari](https://github.com/toboshii/hajimari), [error-pages](https://github.com/tarampampam/error-pages), [echo-server](https://github.com/Ealenn/Echo-Server), [system-upgrade-controller](https://github.com/rancher/system-upgrade-controller), [reflector](https://github.com/emberstack/kubernetes-reflector), [reloader](https://github.com/stakater/Reloader), and [kured](https://github.com/weaveworks/kured)_ _Additional applications include [hajimari](https://github.com/toboshii/hajimari), [error-pages](https://github.com/tarampampam/error-pages), [echo-server](https://github.com/Ealenn/Echo-Server), [system-upgrade-controller](https://github.com/rancher/system-upgrade-controller), [reloader](https://github.com/stakater/Reloader), and [kured](https://github.com/weaveworks/kured)_
For provisioning the following tools will be used: For provisioning the following tools will be used:
@@ -2,19 +2,18 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: &app echo-server name: echo-server
namespace: default namespace: default
spec: spec:
interval: 15m interval: 15m
chart: chart:
spec: spec:
chart: kah-common-chart chart: app-template
version: 1.2.2 version: 0.1.1
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: k8s-at-home name: bjw-s-charts
namespace: flux-system namespace: flux-system
interval: 15m
install: install:
createNamespace: true createNamespace: true
remediation: remediation:
@@ -23,10 +22,8 @@ spec:
remediation: remediation:
retries: 5 retries: 5
values: values:
global:
nameOverride: *app
controller: controller:
replicas: 1 replicas: 3
strategy: RollingUpdate strategy: RollingUpdate
image: image:
repository: docker.io/jmalloc/echo-server repository: docker.io/jmalloc/echo-server
@@ -37,18 +34,7 @@ spec:
http: http:
port: &port 8080 port: &port 8080
probes: probes:
liveness: liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness:
enabled: true enabled: true
custom: true custom: true
spec: spec:
@@ -59,15 +45,9 @@ spec:
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 1 timeoutSeconds: 1
failureThreshold: 3 failureThreshold: 3
readiness: *probes
startup: startup:
enabled: true enabled: false
custom: true
spec:
httpGet:
path: /health
port: *port
failureThreshold: 30
periodSeconds: 10
ingress: ingress:
main: main:
enabled: true enabled: true
@@ -6,5 +6,4 @@ resources:
- cert-manager - cert-manager
# - kured # - kured
- metrics-server - metrics-server
- reflector
- reloader - reloader
@@ -1,28 +0,0 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: reflector
namespace: kube-system
spec:
interval: 15m
chart:
spec:
chart: reflector
version: 6.1.47
sourceRef:
kind: HelmRepository
name: emberstack
namespace: flux-system
interval: 15m
install:
createNamespace: true
remediation:
retries: 5
upgrade:
remediation:
retries: 5
values:
configuration:
logging:
minimumLevel: Debug
@@ -1,5 +0,0 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
@@ -2,8 +2,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2 apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository kind: HelmRepository
metadata: metadata:
name: k8s-at-home name: bjw-s
namespace: flux-system namespace: flux-system
spec: spec:
interval: 1h interval: 1h
url: https://k8s-at-home.com/charts/ url: https://bjw-s.github.io/helm-charts/
-9
View File
@@ -1,9 +0,0 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: emberstack
namespace: flux-system
spec:
interval: 1h
url: https://emberstack.github.io/helm-charts/
+1 -2
View File
@@ -2,12 +2,11 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- bitnami.yaml - bitnami.yaml
- emberstack.yaml - bjw-s.yaml
- external-dns.yaml - external-dns.yaml
- hajimari.yaml - hajimari.yaml
- ingress-nginx.yaml - ingress-nginx.yaml
- jetstack.yaml - jetstack.yaml
- k8s-at-home.yaml
- k8s-gateway.yaml - k8s-gateway.yaml
- metallb.yaml - metallb.yaml
- metrics-server.yaml - metrics-server.yaml