add live/readiness to hw deployment

This commit is contained in:
Stephen McQuay 2018-02-07 15:13:56 -08:00
parent 35d989e7b2
commit 744f7a014a
Signed by: sm
GPG Key ID: 4E4B72F479BA3CE5
1 changed files with 13 additions and 2 deletions

View File

@ -15,7 +15,18 @@ spec:
app: hw
spec:
containers:
- image: smcquay/hw:v0.0.7
name: hw
- name: hw
image: smcquay/hw:v0.0.9
ports:
- containerPort: 8080
livenessProbe:
httpGet:
path: /live
port: 8080
initialDelaySeconds: 5
periodSeconds: 5
readinessProbe:
httpGet:
path: /ready
port: 8080
periodSeconds: 5