Add healthchecks to shipping service

This commit is contained in:
Cedric Ziel
2020-04-10 01:20:20 +02:00
committed by Cedric Ziel
parent ac8753e19e
commit 4063325ac1
2 changed files with 13 additions and 0 deletions

View File

@@ -30,4 +30,12 @@ spec:
requests:
cpu: 100m
memory: 500Mi
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 5
periodSeconds: 5
failureThreshold: 30
successThreshold: 1
restartPolicy: Always