feat(cluster): replace ealenn/echo-server with jmalloc/echo-server
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
3 files changed
+69
-31
No files matched your search
@@ -2,31 +2,71 @@
|
|||||||
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:
|
||||||
enabled: true
|
main:
|
||||||
ingressClassName: "traefik"
|
enabled: true
|
||||||
|
ingressClassName: "traefik"
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-staging"
|
cert-manager.io/cluster-issuer: "letsencrypt-staging"
|
||||||
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
|
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
|
||||||
@@ -35,14 +75,23 @@ spec:
|
|||||||
hajimari.io/icon: "video-input-antenna"
|
hajimari.io/icon: "video-input-antenna"
|
||||||
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: /
|
||||||
tls:
|
pathType: Prefix
|
||||||
- secretName: echo-server-tls
|
tls:
|
||||||
hosts:
|
- hosts:
|
||||||
- "echo-server.${SECRET_DOMAIN}"
|
- *host
|
||||||
|
# # 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
|
||||||
|
|||||||
@@ -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
|
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user