health(wger): replace expensive application probes

This commit is contained in:
jenkins 2026-08-23 11:21:19 -03:00
parent 435e258e45
commit e22e4793bb

View File

@ -22,6 +22,10 @@ spec:
annotations: annotations:
vault.hashicorp.com/agent-inject: "true" vault.hashicorp.com/agent-inject: "true"
vault.hashicorp.com/role: "health" 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-secret-wger-env: "kv/data/atlas/health/wger-db"
vault.hashicorp.com/agent-inject-template-wger-env: | vault.hashicorp.com/agent-inject-template-wger-env: |
{{ with secret "kv/data/atlas/health/wger-db" }} {{ with secret "kv/data/atlas/health/wger-db" }}
@ -162,23 +166,20 @@ spec:
- name: wger-media - name: wger-media
mountPath: /home/wger/media mountPath: /home/wger/media
startupProbe: startupProbe:
httpGet: tcpSocket:
path: /api/v2/version/
port: app port: app
failureThreshold: 60 failureThreshold: 60
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 3 timeoutSeconds: 3
readinessProbe: readinessProbe:
httpGet: tcpSocket:
path: /api/v2/version/
port: app port: app
initialDelaySeconds: 20 initialDelaySeconds: 20
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 3 timeoutSeconds: 3
failureThreshold: 6 failureThreshold: 6
livenessProbe: livenessProbe:
httpGet: tcpSocket:
path: /api/v2/version/
port: app port: app
initialDelaySeconds: 45 initialDelaySeconds: 45
periodSeconds: 20 periodSeconds: 20
@ -218,23 +219,20 @@ spec:
- name: wger-media - name: wger-media
mountPath: /wger/media mountPath: /wger/media
startupProbe: startupProbe:
httpGet: tcpSocket:
path: /api/v2/version/
port: http port: http
failureThreshold: 60 failureThreshold: 60
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 3 timeoutSeconds: 3
readinessProbe: readinessProbe:
httpGet: tcpSocket:
path: /api/v2/version/
port: http port: http
initialDelaySeconds: 10 initialDelaySeconds: 10
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 3 timeoutSeconds: 3
failureThreshold: 6 failureThreshold: 6
livenessProbe: livenessProbe:
httpGet: tcpSocket:
path: /api/v2/version/
port: http port: http
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 20 periodSeconds: 20