Skip to content

Commit ff783ef

Browse files
committed
Fixing minor error on yaml format
1 parent 3912162 commit ff783ef

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

yamls/k8sliveness.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,30 @@ metadata:
44
name: k8sliveness
55
spec:
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

0 commit comments

Comments
 (0)