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:
|
ports:
|
||||||
- containerPort: <port where the proxy is listening for requests>
|
- containerPort: <port where the proxy is listening for requests>
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
name: proxy-health
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /health
|
||||||
|
port: proxy-health
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 15
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 10
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
@ -79,7 +88,6 @@ spec:
|
|||||||
- name: proxy-credentials
|
- name: proxy-credentials
|
||||||
mountPath: /etc/nginx/proxy/credentials/
|
mountPath: /etc/nginx/proxy/credentials/
|
||||||
readOnly: true
|
readOnly: true
|
||||||
# TODO probes!!??
|
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: proxy-https-certs
|
- name: proxy-https-certs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user