From 764cdee76ccab650b0f6181eb855c83f0962280b Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 11 Jan 2026 16:13:02 +0200 Subject: feat(miniflux): add liveness and readiness probes --- f3s/miniflux/helm-chart/templates/deployment.yaml | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/f3s/miniflux/helm-chart/templates/deployment.yaml b/f3s/miniflux/helm-chart/templates/deployment.yaml index 08647a7..5a98459 100644 --- a/f3s/miniflux/helm-chart/templates/deployment.yaml +++ b/f3s/miniflux/helm-chart/templates/deployment.yaml @@ -53,6 +53,18 @@ spec: command: ["/bin/sh", "-c"] args: - export DATABASE_URL="postgres://miniflux:${POSTGRES_PASSWORD}@miniflux-postgres:5432/miniflux?sslmode=disable"; exec /usr/bin/miniflux + livenessProbe: + httpGet: + path: /healthcheck + port: 8080 + initialDelaySeconds: 60 + periodSeconds: 30 + readinessProbe: + httpGet: + path: /healthcheck + port: 8080 + initialDelaySeconds: 15 + periodSeconds: 15 --- apiVersion: apps/v1 kind: Deployment @@ -86,6 +98,23 @@ spec: volumeMounts: - name: miniflux-postgres-data mountPath: /var/lib/postgresql/data + livenessProbe: + exec: + command: + - pg_isready + - -U + - miniflux + initialDelaySeconds: 60 + periodSeconds: 30 + readinessProbe: + exec: + command: + - pg_isready + - -U + - miniflux + initialDelaySeconds: 15 + periodSeconds: 15 + volumes: - name: miniflux-postgres-data persistentVolumeClaim: -- cgit v1.2.3