Skip to content

Commit af8c59c

Browse files
committed
Fixing minor error on yaml format
1 parent f5c3040 commit af8c59c

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

yamls/k8sliveness.yaml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)