add live/readiness to hw deployment
This commit is contained in:
parent
35d989e7b2
commit
744f7a014a
|
@ -15,7 +15,18 @@ spec:
|
||||||
app: hw
|
app: hw
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: smcquay/hw:v0.0.7
|
- name: hw
|
||||||
name: hw
|
image: smcquay/hw:v0.0.9
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /live
|
||||||
|
port: 8080
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 5
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /ready
|
||||||
|
port: 8080
|
||||||
|
periodSeconds: 5
|
||||||
|
|
Loading…
Reference in New Issue