feat(cluster): replace ealenn/echo-server with jmalloc/echo-server

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-06-09 10:02:51 -04:00
1 parent 95eb2c5639
commit 89d03e1e30
3 files changed
+64 -26

No files matched your search

@@ -2,29 +2,69 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: echo-server name: &app echo-server
namespace: default namespace: default
spec: spec:
interval: 5m interval: 5m
chart: chart:
spec: spec:
chart: echo-server chart: kah-common-chart
version: 0.4.0 version: 1.1.2
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: ealenn-charts name: k8s-at-home-charts
namespace: flux-system namespace: flux-system
interval: 5m interval: 5m
install: install:
createNamespace: true createNamespace: true
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values: values:
replicaCount: 2 global:
nameOverride: *app
controller:
replicas: 2
strategy: RollingUpdate
image:
repository: docker.io/jmalloc/echo-server
tag: 0.3.1
service:
main:
ports:
http:
port: &port 8080
probes:
liveness:
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness:
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
startup:
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port
failureThreshold: 30
periodSeconds: 10
ingress: ingress:
main:
enabled: true enabled: true
ingressClassName: "traefik" ingressClassName: "traefik"
annotations: annotations:
@@ -36,13 +76,22 @@ spec:
traefik.ingress.kubernetes.io/router.entrypoints: "websecure" traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
traefik.ingress.kubernetes.io/router.middlewares: "networking-cloudflare-only@kubernetescrd" traefik.ingress.kubernetes.io/router.middlewares: "networking-cloudflare-only@kubernetescrd"
hosts: hosts:
- host: "echo-server.${SECRET_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}"
paths: paths:
- "/" - path: /
pathType: Prefix
tls: tls:
- secretName: echo-server-tls - hosts:
hosts: - *host
- "echo-server.${SECRET_DOMAIN}" # # FIXME: Uncomment this block to ensure multiple
# # replicas of the pod are scheduled on different nodes
# topologySpreadConstraints:
# - maxSkew: 1
# topologyKey: kubernetes.io/hostname
# whenUnsatisfiable: DoNotSchedule
# labelSelector:
# matchLabels:
# app.kubernetes.io/name: *app
resources: resources:
requests: requests:
cpu: 50m cpu: 50m
-10
View File
@@ -1,10 +0,0 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: ealenn-charts
namespace: flux-system
spec:
interval: 30m
url: https://ealenn.github.io/charts
timeout: 3m
-1
View File
@@ -2,7 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- bitnami.yaml - bitnami.yaml
- ealenn.yaml
- emberstack.yaml - emberstack.yaml
- external-dns.yaml - external-dns.yaml
- hajimari.yaml - hajimari.yaml