File tree 3 files changed +40
-0
lines changed
resources/helm/dask-gateway
3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 7
7
.cache /
8
8
.pytest_cache /
9
9
.DS_Store
10
+ .vscode
Original file line number Diff line number Diff line change 57
57
ports :
58
58
- containerPort : 8000
59
59
name : api
60
+
61
+ {{- if .Values.gateway.livenessProbe.enabled }}
62
+ livenessProbe :
63
+ httpGet :
64
+ path : /api/health
65
+ port : api
66
+ initialDelaySeconds : {{ .Values.gateway.livenessProbe.initialDelaySeconds }}
67
+ periodSeconds : {{ .Values.gateway.livenessProbe.periodSeconds }}
68
+ timeoutSeconds : {{ .Values.gateway.livenessProbe.timeoutSeconds }}
69
+ failureThreshold : {{ .Values.gateway.livenessProbe.failureThreshold }}
70
+ {{- end }}
71
+
72
+ {{- if .Values.gateway.readinessProbe.enabled }}
73
+ readinessProbe :
74
+ httpGet :
75
+ path : /api/health
76
+ port : api
77
+ initialDelaySeconds : {{ .Values.gateway.readinessProbe.initialDelaySeconds }}
78
+ periodSeconds : {{ .Values.gateway.readinessProbe.periodSeconds }}
79
+ timeoutSeconds : {{ .Values.gateway.readinessProbe.timeoutSeconds }}
80
+ failureThreshold : {{ .Values.gateway.readinessProbe.failureThreshold }}
81
+ {{- end }}
Original file line number Diff line number Diff line change @@ -54,6 +54,23 @@ gateway:
54
54
# Configuration fields to set on the authenticator class.
55
55
options : {}
56
56
57
+ livenessProbe :
58
+ # Enables the livenessProbe.
59
+ enabled : true
60
+ # Configures the livenessProbe.
61
+ initialDelaySeconds : 5
62
+ timeoutSeconds : 2
63
+ periodSeconds : 10
64
+ failureThreshold : 6
65
+ readinessProbe :
66
+ # Enables the readinessProbe.
67
+ enabled : true
68
+ # Configures the readinessProbe.
69
+ initialDelaySeconds : 5
70
+ timeoutSeconds : 2
71
+ periodSeconds : 10
72
+ failureThreshold : 3
73
+
57
74
backend :
58
75
# The image to use for both schedulers and workers.
59
76
image :
You can’t perform that action at this time.
0 commit comments