File tree Expand file tree Collapse file tree 1 file changed +28
-29
lines changed
Expand file tree Collapse file tree 1 file changed +28
-29
lines changed Original file line number Diff line number Diff line change @@ -2,33 +2,32 @@ apiVersion: extensions/v1beta1
22kind : Deployment
33metadata :
44 name : k8sliveness
5- labels :
6- env : prod
7- spec :
8- replicas : 3
9- selector :
10- matchLabels :
5+ spec :
6+ replicas : 3
7+ selector :
8+ matchLabels :
9+ env : prod
10+ template :
11+ metadata :
12+ labels :
1113 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
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
You can’t perform that action at this time.
0 commit comments