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
|
- name: fedora-messaging-config-volume
|
||||||
mountPath: /etc/fedora-messaging
|
mountPath: /etc/fedora-messaging
|
||||||
readOnly: true
|
readOnly: true
|
||||||
readinessProbe:
|
|
||||||
timeoutSeconds: 1
|
startupProbe:
|
||||||
initialDelaySeconds: 5
|
timeoutSeconds: 5
|
||||||
|
periodSeconds: 5
|
||||||
|
failureThreshold: 30
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/v2.0/healthcheck
|
path: /api/v2.0/healthcheck
|
||||||
port: 5001
|
port: 5001
|
||||||
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
initialDelaySeconds: 30
|
periodSeconds: 60
|
||||||
|
failureThreshold: 3
|
||||||
|
successThreshold: 1
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/v2.0/healthcheck
|
path: /api/v2.0/healthcheck
|
||||||
port: 5001
|
port: 5001
|
||||||
|
|
||||||
|
readinessProbe:
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 10
|
||||||
|
failureThreshold: 3
|
||||||
|
successThreshold: 1
|
||||||
|
httpGet:
|
||||||
|
path: /api/v2.0
|
||||||
|
port: 5001
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 500Mi
|
memory: 500Mi
|
||||||
|
|
|
@ -45,18 +45,33 @@ spec:
|
||||||
- name: httpd-config-volume
|
- name: httpd-config-volume
|
||||||
mountPath: /etc/httpd/conf.d
|
mountPath: /etc/httpd/conf.d
|
||||||
readOnly: true
|
readOnly: true
|
||||||
readinessProbe:
|
|
||||||
timeoutSeconds: 1
|
startupProbe:
|
||||||
initialDelaySeconds: 5
|
timeoutSeconds: 5
|
||||||
|
periodSeconds: 5
|
||||||
|
failureThreshold: 30
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /results?limit=1
|
||||||
port: 5002
|
port: 5002
|
||||||
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
initialDelaySeconds: 30
|
periodSeconds: 60
|
||||||
|
failureThreshold: 3
|
||||||
|
successThreshold: 1
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /results?limit=0
|
||||||
port: 5002
|
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
|
# Limit to 384MB memory. This is probably *not* enough but it is
|
||||||
# necessary in the current environment to allow for 2 replicas and
|
# necessary in the current environment to allow for 2 replicas and
|
||||||
# rolling updates, without hitting the (very aggressive) memory quota.
|
# rolling updates, without hitting the (very aggressive) memory quota.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue