add live/readiness to hw deployment
This commit is contained in:
+13
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user