mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Add livenessProbe
This commit is contained in:
parent
f07df50041
commit
1307f43306
@ -68,6 +68,15 @@ spec:
|
||||
ports:
|
||||
- containerPort: <port where the proxy is listening for requests>
|
||||
protocol: TCP
|
||||
name: proxy-health
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: proxy-health
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 15
|
||||
failureThreshold: 3
|
||||
timeoutSeconds: 10
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
@ -79,7 +88,6 @@ spec:
|
||||
- name: proxy-credentials
|
||||
mountPath: /etc/nginx/proxy/credentials/
|
||||
readOnly: true
|
||||
# TODO probes!!??
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: proxy-https-certs
|
||||
|
Loading…
x
Reference in New Issue
Block a user