GitOps Status API

This commit is contained in:
dvirlabs 2026-04-21 13:43:49 +03:00
parent 9af9b5b8c9
commit 519fa61908

View File

@ -61,7 +61,7 @@ spec:
- sh - sh
- -c - -c
- | - |
pip install --no-cache-dir Flask==2.3.2 >/dev/null 2>&1 pip install --no-cache-dir Flask==2.3.2 2>&1 | grep -v "already satisfied" || true
exec python3 /app/app.py exec python3 /app/app.py
ports: ports:
- name: api - name: api
@ -78,7 +78,7 @@ spec:
httpGet: httpGet:
path: /health path: /health
port: api port: api
initialDelaySeconds: 10 initialDelaySeconds: 15
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 3 timeoutSeconds: 3
failureThreshold: 3 failureThreshold: 3
@ -86,9 +86,9 @@ spec:
httpGet: httpGet:
path: /ready path: /ready
port: api port: api
initialDelaySeconds: 5 initialDelaySeconds: 15
periodSeconds: 5 periodSeconds: 5
timeoutSeconds: 2 timeoutSeconds: 3
failureThreshold: 2 failureThreshold: 2
resources: resources:
limits: limits: