grpc: implement health check in go services (#27)
Also locked grpc-go to =1.14 exact version. See grpc/grpc-go#2314 and grpc/grpc-go#2313 for reference
This commit is contained in:
parent
6c37a96f3a
commit
1bab006af1
15 changed files with 116 additions and 260 deletions
|
@ -29,12 +29,11 @@ spec:
|
|||
- containerPort: 50051
|
||||
readinessProbe:
|
||||
periodSeconds: 5
|
||||
tcpSocket:
|
||||
port: 50051
|
||||
exec:
|
||||
command: ["/bin/grpc_health_probe", "-addr=:50051"]
|
||||
livenessProbe:
|
||||
periodSeconds: 5
|
||||
tcpSocket:
|
||||
port: 50051
|
||||
exec:
|
||||
command: ["/bin/grpc_health_probe", "-addr=:50051"]
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue