k8s: start using grpc health check for cartservice (#63)
This commit is contained in:
parent
848d4bbe90
commit
2771a03727
10 changed files with 9 additions and 2701 deletions
|
@ -45,12 +45,12 @@ spec:
|
|||
readinessProbe:
|
||||
initialDelaySeconds: 15
|
||||
exec:
|
||||
command: ["/cartservice_probe"]
|
||||
command: ["/bin/grpc_health_probe", "-addr=:7070"]
|
||||
livenessProbe:
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 10
|
||||
exec:
|
||||
command: ["/cartservice_probe"]
|
||||
command: ["/bin/grpc_health_probe", "-addr=:7070"]
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue