1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-06-17 10:03:20 +02:00

Add livenessProbe

This commit is contained in:
krish7919 (Krish) 2017-09-06 16:54:34 +02:00 committed by Krish
parent f07df50041
commit 1307f43306

View File

@ -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