resultsdb: Update probes
Adds startupProbe and longer probing intervals for backend and frontend.
This commit is contained in:
parent
3322ae0888
commit
b7c82cbb47
2 changed files with 40 additions and 10 deletions
|
@ -82,18 +82,33 @@ spec:
|
|||
- name: fedora-messaging-config-volume
|
||||
mountPath: /etc/fedora-messaging
|
||||
readOnly: true
|
||||
readinessProbe:
|
||||
timeoutSeconds: 1
|
||||
initialDelaySeconds: 5
|
||||
|
||||
startupProbe:
|
||||
timeoutSeconds: 5
|
||||
periodSeconds: 5
|
||||
failureThreshold: 30
|
||||
httpGet:
|
||||
path: /api/v2.0/healthcheck
|
||||
port: 5001
|
||||
|
||||
livenessProbe:
|
||||
timeoutSeconds: 5
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 60
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
httpGet:
|
||||
path: /api/v2.0/healthcheck
|
||||
port: 5001
|
||||
|
||||
readinessProbe:
|
||||
timeoutSeconds: 1
|
||||
periodSeconds: 10
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
httpGet:
|
||||
path: /api/v2.0
|
||||
port: 5001
|
||||
|
||||
resources:
|
||||
limits:
|
||||
memory: 500Mi
|
||||
|
|
|
@ -45,18 +45,33 @@ spec:
|
|||
- name: httpd-config-volume
|
||||
mountPath: /etc/httpd/conf.d
|
||||
readOnly: true
|
||||
readinessProbe:
|
||||
timeoutSeconds: 1
|
||||
initialDelaySeconds: 5
|
||||
|
||||
startupProbe:
|
||||
timeoutSeconds: 5
|
||||
periodSeconds: 5
|
||||
failureThreshold: 30
|
||||
httpGet:
|
||||
path: /
|
||||
path: /results?limit=1
|
||||
port: 5002
|
||||
|
||||
livenessProbe:
|
||||
timeoutSeconds: 5
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 60
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
httpGet:
|
||||
path: /
|
||||
path: /results?limit=0
|
||||
port: 5002
|
||||
|
||||
readinessProbe:
|
||||
timeoutSeconds: 1
|
||||
periodSeconds: 10
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
httpGet:
|
||||
path: /results?limit=0
|
||||
port: 5002
|
||||
|
||||
# Limit to 384MB memory. This is probably *not* enough but it is
|
||||
# necessary in the current environment to allow for 2 replicas and
|
||||
# rolling updates, without hitting the (very aggressive) memory quota.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue