Every container in every Deployment/StatefulSet now defines all three probes. The paperless-ngx consume CronJob intentionally has none (batch workload). - Add probes: apache-tika, calibre-web-automated, cyberchef, gotenberg, homeassistant, patchmon-backend, samba (tcp/445), teamspeak-server (tcp/30033), zipline (/api/healthcheck) - Fix voucher-vault null probe values with real defaults - Fix startup-probe semantics in template-chart and rallly (no initialDelaySeconds, generous failureThreshold) - Switch outline probes to its /_health endpoint - Add readiness/startup probes to satisfactory - Add startup probes to matrix-synapse, matrix-delegation-nginx, paperless-server, patchmon-frontend, urlaubsverwaltung - Major version bump for all published charts
70 lines
2.4 KiB
YAML
70 lines
2.4 KiB
YAML
{{- if .Values.matrix.delegation.enabled }}
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: {{ .Release.Name }}-{{ .Chart.Name }}-delegation-nginx
|
|
labels:
|
|
app: {{ .Release.Name }}-{{ .Chart.Name }}-delegation-nginx
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: {{ .Release.Name }}-{{ .Chart.Name }}-delegation-nginx
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: {{ .Release.Name }}-{{ .Chart.Name }}-delegation-nginx
|
|
spec:
|
|
automountServiceAccountToken: false
|
|
containers:
|
|
- name: {{ .Release.Name }}-{{ .Chart.Name }}-delegation-nginx
|
|
image: "nginx:1.28.3"
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
volumeMounts:
|
|
- name: nginx-config
|
|
mountPath: /etc/nginx/nginx.conf
|
|
subPath: nginx.conf
|
|
resources:
|
|
limits:
|
|
memory: "{{ .Values.matrix.delegation.resources.limits.memory }}"
|
|
cpu: "{{ .Values.matrix.delegation.resources.limits.cpu }}"
|
|
ephemeral-storage: "{{ .Values.matrix.delegation.resources.limits.ephemeralStorage }}"
|
|
requests:
|
|
memory: "{{ .Values.matrix.delegation.resources.requests.memory }}"
|
|
cpu: "{{ .Values.matrix.delegation.resources.requests.cpu }}"
|
|
ephemeral-storage: "{{ .Values.matrix.delegation.resources.requests.ephemeralStorage }}"
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /.well-known/matrix/server
|
|
port: http
|
|
scheme: HTTP
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /.well-known/matrix/server
|
|
port: http
|
|
scheme: HTTP
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
# The startup probe gates liveness/readiness. Startup budget = 5s * 30 = 150s.
|
|
startupProbe:
|
|
httpGet:
|
|
path: /.well-known/matrix/server
|
|
port: http
|
|
scheme: HTTP
|
|
periodSeconds: 5
|
|
timeoutSeconds: 3
|
|
failureThreshold: 30
|
|
volumes:
|
|
- name: nginx-config
|
|
configMap:
|
|
name: {{ .Release.Name }}-{{ .Chart.Name }}-delegation-nginx-config
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf
|
|
{{- end }} |