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
|
||||
|
|
|
@ -38,7 +38,7 @@ spec:
|
|||
livenessProbe:
|
||||
initialDelaySeconds: 10
|
||||
httpGet:
|
||||
path: "/"
|
||||
path: "/_healthz"
|
||||
port: 8080
|
||||
httpHeaders:
|
||||
- name: "Cookie"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue