k8s: start using grpc health check for cartservice (#63)

This commit is contained in:
Ahmet Alp Balkan 2018-10-01 23:20:42 -07:00 committed by GitHub
parent 848d4bbe90
commit 2771a03727
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 9 additions and 2701 deletions

View file

@ -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

View file

@ -38,7 +38,7 @@ spec:
livenessProbe:
initialDelaySeconds: 10
httpGet:
path: "/"
path: "/_healthz"
port: 8080
httpHeaders:
- name: "Cookie"