From 4f06580f8d94f255c5dcd8c79a1c44ce74f8e5a0 Mon Sep 17 00:00:00 2001 From: Craig Younkins Date: Thu, 1 Aug 2024 14:50:23 -0400 Subject: [PATCH] Add liveness/readiness probes, resource requests/limits --- deploy/02-deployment.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/deploy/02-deployment.yaml b/deploy/02-deployment.yaml index 32bc2287..17829483 100644 --- a/deploy/02-deployment.yaml +++ b/deploy/02-deployment.yaml @@ -35,6 +35,20 @@ spec: allowPrivilegeEscalation: false capabilities: drop: [ALL] + livenessProbe: + httpGet: + path: /-/healthy + port: 2112 + readinessProbe: + httpGet: + path: /-/ready + port: 2112 + resources: + requests: + cpu: 100m + memory: 128Mi + limits: + memory: 128Mi volumes: - name: cfg configMap: