summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-11 16:13:02 +0200
committerPaul Buetow <paul@buetow.org>2026-01-11 16:13:02 +0200
commit764cdee76ccab650b0f6181eb855c83f0962280b (patch)
treec025c37060dd7e7fc5259d593e2f988ebc730cd6
parentde55dd907d2e9277e4773245fe48e09cacbdb84d (diff)
feat(miniflux): add liveness and readiness probes
-rw-r--r--f3s/miniflux/helm-chart/templates/deployment.yaml29
1 files changed, 29 insertions, 0 deletions
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: