Files
helm-charts/gotenberg/templates/deployment.yaml
T
jklein 78d78973c5 Ensure liveness, readiness and startup probes on all workloads
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
2026-08-21 17:36:53 +02:00

43 lines
1.6 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
spec:
replicas: 1
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
template:
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
spec:
automountServiceAccountToken: false
containers:
- name: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
image: "gotenberg/gotenberg:{{ .Chart.AppVersion }}"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
protocol: TCP
name: gotenberg-port
livenessProbe:
{{- toYaml .Values.gotenberg.livenessProbe | nindent 12 }}
readinessProbe:
{{- toYaml .Values.gotenberg.readinessProbe | nindent 12 }}
startupProbe:
{{- toYaml .Values.gotenberg.startupProbe | nindent 12 }}
resources:
requests:
memory: "{{ .Values.gotenberg.resources.requests.memory }}"
cpu: "{{ .Values.gotenberg.resources.requests.cpu }}"
ephemeral-storage: "{{ .Values.gotenberg.resources.requests.ephemeralStorage }}"
limits:
memory: "{{ .Values.gotenberg.resources.limits.memory }}"
cpu: "{{ .Values.gotenberg.resources.limits.cpu }}"
ephemeral-storage: "{{ .Values.gotenberg.resources.limits.ephemeralStorage }}"
restartPolicy: Always