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