From 1accc3beafadba3f160fadf370850b78d9ae1297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Neves?= Date: Thu, 25 Jun 2026 12:12:23 +0000 Subject: [PATCH] docs(deployment): add liveness and readiness probes to Kubernetes manifest Add HTTP health probes to the Kubernetes Deployment example so that Kubernetes can properly manage container lifecycle and traffic routing. - livenessProbe: HTTP GET / on port 80, starts after 10s, checks every 30s - readinessProbe: HTTP GET / on port 80, starts after 5s, checks every 10s Without these probes, Kubernetes cannot detect when the nginx container is unhealthy or not ready to serve traffic. --- DEPLOYMENT_DOCKER.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/DEPLOYMENT_DOCKER.md b/DEPLOYMENT_DOCKER.md index 45802f9..dac7dc6 100644 --- a/DEPLOYMENT_DOCKER.md +++ b/DEPLOYMENT_DOCKER.md @@ -108,6 +108,18 @@ spec: image: lightning-decoder:latest ports: - containerPort: 80 + livenessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 10 + periodSeconds: 30 + readinessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 5 + periodSeconds: 10 resources: requests: memory: "64Mi"