Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit c534f22

Browse files
committed
docs(kubernetes/helm): Add startupProbe and livenessProbe probes
Signed-off-by: hayk96 <[email protected]>
1 parent 78c1909 commit c534f22

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

docs/examples/kubernetes/helm/values.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,33 @@ server:
99
- --rule.path=/rules
1010
- --web.enable-ui=true
1111
ports:
12-
- containerPort: 9090
12+
- name: http
13+
containerPort: 9090
1314
volumeMounts:
1415
- name: storage-volume
1516
mountPath: /rules
1617
subPath: rules
1718
readOnly: false
19+
startupProbe:
20+
httpGet:
21+
path: /health
22+
port: http
23+
scheme: HTTP
24+
initialDelaySeconds: 30
25+
timeoutSeconds: 1
26+
periodSeconds: 5
27+
successThreshold: 1
28+
failureThreshold: 1
29+
livenessProbe:
30+
httpGet:
31+
path: /health
32+
port: http
33+
scheme: HTTP
34+
initialDelaySeconds: 30
35+
timeoutSeconds: 1
36+
periodSeconds: 60
37+
successThreshold: 1
38+
failureThreshold: 2
1839
extraFlags:
1940
- web.enable-lifecycle
2041
- web.enable-admin-api

0 commit comments

Comments
 (0)