adservice: use grpc health checks (#29)

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-09-19 12:35:07 -07:00 committed by GitHub
parent 880ee16be2
commit 360d983512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 10 deletions

View file

@ -39,15 +39,15 @@ spec:
cpu: 300m
memory: 300Mi
readinessProbe:
tcpSocket:
port: 9555
initialDelaySeconds: 5
periodSeconds: 10
initialDelaySeconds: 20
periodSeconds: 5
exec:
command: ["/bin/grpc_health_probe", "-addr=:9555"]
livenessProbe:
tcpSocket:
port: 9555
initialDelaySeconds: 10
periodSeconds: 10
initialDelaySeconds: 20
periodSeconds: 5
exec:
command: ["/bin/grpc_health_probe", "-addr=:9555"]
---
apiVersion: v1
kind: Service