Skip to content

Commit

Permalink
feat: Add configurable liveness probe timeout (#918)
Browse files Browse the repository at this point in the history
* feat: Add configurable liveness probe timeout

* Update dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/values.yaml

Co-authored-by: Jacob Tomlinson <[email protected]>

* Add livenessProbe timeout to README

* Fix README typo

---------

Co-authored-by: Jacob Tomlinson <[email protected]>
  • Loading branch information
bnaul and jacobtomlinson authored Nov 5, 2024
1 parent f21605e commit f30da72
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ The following table lists the configurable parameters of the Dask-kubernetes-ope
| `tolerations` | Tolerations | `[]` |
| `affinity` | Affinity | `{}` |
| `priorityClassName` | Priority class | `null` |
| `livenessProbe.timeoutSeconds` | | `5` |
| `kopfArgs` | Command line flags to pass to kopf on start up | `["--all-namespaces"]` |
| `metrics.scheduler.enabled` | Enable scheduler metrics. Pip package [prometheus-client](https://pypi.org/project/prometheus-client/) should be present on scheduler. | `false` |
| `metrics.scheduler.serviceMonitor.enabled` | Enable scheduler servicemonitor. | `false` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ spec:
httpGet:
path: /healthz
port: 8080
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
volumeMounts:
{{- toYaml .Values.volumeMounts | nindent 12 }}
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ affinity: {} # Affinity

priorityClassName: null # Priority class

livenessProbe:
timeoutSeconds: 5

kopfArgs: # Command line flags to pass to kopf on start up
- --all-namespaces

Expand Down

0 comments on commit f30da72

Please sign in to comment.