frontend: add liveness/readiness probes
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
ecba29655a
commit
1ae5e7737a
2 changed files with 11 additions and 1 deletions
|
@ -13,6 +13,16 @@ spec:
|
|||
image: frontend
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
readinessProbe:
|
||||
initialDelaySeconds: 10
|
||||
httpGet:
|
||||
path: "/"
|
||||
port: 8080
|
||||
livenessProbe:
|
||||
initialDelaySeconds: 10
|
||||
httpGet:
|
||||
path: "/"
|
||||
port: 8080
|
||||
env:
|
||||
- name: PRODUCT_CATALOG_SERVICE_ADDR
|
||||
value: "productcatalogservice:3550"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue