File tree Expand file tree Collapse file tree 1 file changed +29
-29
lines changed
Expand file tree Collapse file tree 1 file changed +29
-29
lines changed Original file line number Diff line number Diff line change 11apiVersion : extensions/v1beta1
22kind : Deployment
33metadata :
4- name : k8sliveness
4+ name : k8sliveness
55spec :
6- replicas : 3
7- strategy :
8- type : RollingUpdate
9- rollingUpdate :
10- maxSurge : 1
11- maxUnavailable : 1
12- selector :
13- matchLabels :
14- env : prod
15- template :
16- metadata :
17- labels :
18- env : prod
19- spec :
20- containers :
21- - image : twogghub/k8s-workshop:1.3-liveness
22- name : k8sliveness
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
6+ replicas : 3
7+ strategy :
8+ type : RollingUpdate
9+ rollingUpdate :
10+ maxSurge : 1
11+ maxUnavailable : 1
12+ selector :
13+ matchLabels :
14+ env : prod
15+ template :
16+ metadata :
17+ labels :
18+ env : prod
19+ spec :
20+ containers :
21+ - image : twogghub/k8s-workshop:1.3-liveness
22+ name : k8sliveness
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