From e22e4793bb8533a70a7da35916b5624ec29677a2 Mon Sep 17 00:00:00 2001 From: jenkins Date: Sun, 23 Aug 2026 11:21:19 -0300 Subject: [PATCH] health(wger): replace expensive application probes --- services/health/wger-deployment.yaml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/services/health/wger-deployment.yaml b/services/health/wger-deployment.yaml index 0fa6ce12..de985429 100644 --- a/services/health/wger-deployment.yaml +++ b/services/health/wger-deployment.yaml @@ -22,6 +22,10 @@ spec: annotations: vault.hashicorp.com/agent-inject: "true" vault.hashicorp.com/role: "health" + vault.hashicorp.com/agent-requests-cpu: "25m" + vault.hashicorp.com/agent-requests-mem: "64Mi" + vault.hashicorp.com/agent-limits-cpu: "100m" + vault.hashicorp.com/agent-limits-mem: "128Mi" vault.hashicorp.com/agent-inject-secret-wger-env: "kv/data/atlas/health/wger-db" vault.hashicorp.com/agent-inject-template-wger-env: | {{ with secret "kv/data/atlas/health/wger-db" }} @@ -162,23 +166,20 @@ spec: - name: wger-media mountPath: /home/wger/media startupProbe: - httpGet: - path: /api/v2/version/ + tcpSocket: port: app failureThreshold: 60 periodSeconds: 10 timeoutSeconds: 3 readinessProbe: - httpGet: - path: /api/v2/version/ + tcpSocket: port: app initialDelaySeconds: 20 periodSeconds: 10 timeoutSeconds: 3 failureThreshold: 6 livenessProbe: - httpGet: - path: /api/v2/version/ + tcpSocket: port: app initialDelaySeconds: 45 periodSeconds: 20 @@ -218,23 +219,20 @@ spec: - name: wger-media mountPath: /wger/media startupProbe: - httpGet: - path: /api/v2/version/ + tcpSocket: port: http failureThreshold: 60 periodSeconds: 10 timeoutSeconds: 3 readinessProbe: - httpGet: - path: /api/v2/version/ + tcpSocket: port: http initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 3 failureThreshold: 6 livenessProbe: - httpGet: - path: /api/v2/version/ + tcpSocket: port: http initialDelaySeconds: 30 periodSeconds: 20