GitOps Status API
This commit is contained in:
parent
9af9b5b8c9
commit
519fa61908
@ -61,7 +61,7 @@ spec:
|
||||
- sh
|
||||
- -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
|
||||
ports:
|
||||
- name: api
|
||||
@ -78,7 +78,7 @@ spec:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: api
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 3
|
||||
@ -86,9 +86,9 @@ spec:
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: api
|
||||
initialDelaySeconds: 5
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 2
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 2
|
||||
resources:
|
||||
limits:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user