File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed
Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -4,30 +4,30 @@ metadata:
44 name : k8sliveness
55spec :
66 replicas : 3
7+ strategy :
8+ type : RollingUpdate
9+ rollingUpdate :
10+ maxSurge : 1
11+ maxUnavailable : 1
712 selector :
813 matchLabels :
914 env : prod
1015 template :
1116 metadata :
1217 labels :
1318 env : prod
14- strategy :
15- type : RollingUpdate
16- rollingUpdate :
17- maxSurge : 1
18- maxUnavailable : 1
19- spec :
20- containers :
21- - name : k8sliveness
22- image : twogghub/k8s-workshop:1.3-liveness
23- livenessProbe :
24- httpGet :
25- path : /healthy
26- port : 9090
27- initialDelaySeconds : 5
28- timeoutSeconds : 1
29- periodSeconds : 10
30- failureThreshold : 3
31- ports :
32- - name : http
33- containerPort : 9090
19+ spec :
20+ containers :
21+ - name : k8sliveness
22+ image : twogghub/k8s-workshop:1.3-liveness
23+ livenessProbe :
24+ httpGet :
25+ path : /healthy
26+ port : 9090
27+ initialDelaySeconds : 5
28+ timeoutSeconds : 1
29+ periodSeconds : 10
30+ failureThreshold : 3
31+ ports :
32+ - name : http
33+ containerPort : 9090
You can’t perform that action at this time.
0 commit comments