Skip to content

Commit 358cfef

Browse files
committed
Fixing minor error on yaml format
1 parent ad0c802 commit 358cfef

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

yamls/k8sliveness.yaml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
apiVersion: extensions/v1beta1
22
kind: Deployment
33
metadata:
4-
name: k8sliveness
4+
name: k8sliveness
55
spec:
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

0 commit comments

Comments
 (0)