k8s: add liveness/readiness probes
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
ca6e6647ef
commit
ecba29655a
9 changed files with 73 additions and 1 deletions
|
@ -13,6 +13,14 @@ spec:
|
|||
image: currencyservice
|
||||
ports:
|
||||
- containerPort: 31337
|
||||
readinessProbe:
|
||||
periodSeconds: 5
|
||||
tcpSocket:
|
||||
port: 31337
|
||||
livenessProbe:
|
||||
periodSeconds: 5
|
||||
tcpSocket:
|
||||
port: 31337
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue