diff --git a/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/README.md b/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/README.md index 1b4530df2..02bcacec6 100644 --- a/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/README.md +++ b/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/README.md @@ -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` | diff --git a/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/templates/deployment.yaml b/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/templates/deployment.yaml index 285259c0c..357ecf61f 100644 --- a/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/templates/deployment.yaml +++ b/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/templates/deployment.yaml @@ -52,6 +52,7 @@ spec: httpGet: path: /healthz port: 8080 + timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} volumeMounts: {{- toYaml .Values.volumeMounts | nindent 12 }} volumes: diff --git a/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/values.yaml b/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/values.yaml index d4d863a55..12e62ecbe 100644 --- a/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/values.yaml +++ b/dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/values.yaml @@ -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