Skip to content

Commit 1a173fe

Browse files
authored
Merge pull request #1584 from aledbf/add-probes
Add missing probes in deployments
2 parents 2f9d144 + 08c30b1 commit 1a173fe

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

deploy/with-rbac.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,22 @@ spec:
4040
containerPort: 80
4141
- name: https
4242
containerPort: 443
43+
livenessProbe:
44+
failureThreshold: 3
45+
httpGet:
46+
path: /healthz
47+
port: 10254
48+
scheme: HTTP
49+
initialDelaySeconds: 10
50+
periodSeconds: 10
51+
successThreshold: 1
52+
timeoutSeconds: 1
53+
readinessProbe:
54+
failureThreshold: 3
55+
httpGet:
56+
path: /healthz
57+
port: 10254
58+
scheme: HTTP
59+
periodSeconds: 10
60+
successThreshold: 1
61+
timeoutSeconds: 1

deploy/without-rbac.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,22 @@ spec:
3939
containerPort: 80
4040
- name: https
4141
containerPort: 443
42+
livenessProbe:
43+
failureThreshold: 3
44+
httpGet:
45+
path: /healthz
46+
port: 10254
47+
scheme: HTTP
48+
initialDelaySeconds: 10
49+
periodSeconds: 10
50+
successThreshold: 1
51+
timeoutSeconds: 1
52+
readinessProbe:
53+
failureThreshold: 3
54+
httpGet:
55+
path: /healthz
56+
port: 10254
57+
scheme: HTTP
58+
periodSeconds: 10
59+
successThreshold: 1
60+
timeoutSeconds: 1

0 commit comments

Comments
 (0)