diff --git a/dask/README.md b/dask/README.md index 2d8504e..7aeb002 100644 --- a/dask/README.md +++ b/dask/README.md @@ -92,6 +92,7 @@ The following table lists the configurable parameters of the Dask chart and thei | `worker.extraArgs` | Extra cli arguments to be passed to the worker | `[]` | | `worker.resources` | Worker pod resources. see `values.yaml` for example values. | `{}` | | `worker.mounts` | Worker pod volumes and volume mounts, mounts.volumes follows kuberentes api v1 volumes spec. mounts.volumemounts follows kubernetesapi v1 volumemount spec | `{}` | +| `worker.annotations` | Annotations | `{}` | | `worker.tolerations` | Tolerations. | `[]` | | `worker.affinity` | Container affinity. | `{}` | | `worker.nodeSelector` | Node selector. | `{}` | diff --git a/dask/templates/dask-worker-deployment.yaml b/dask/templates/dask-worker-deployment.yaml index 7e87d6e..800c486 100644 --- a/dask/templates/dask-worker-deployment.yaml +++ b/dask/templates/dask-worker-deployment.yaml @@ -23,6 +23,10 @@ spec: app: {{ template "dask.name" . }} release: {{ .Release.Name | quote }} component: worker + {{- if .Values.worker.annotations }} + annotations: + {{- toYaml .Values.worker.annotations | nindent 8 }} + {{- end }} spec: imagePullSecrets: {{- toYaml .Values.worker.image.pullSecrets | nindent 8 }} diff --git a/dask/values.yaml b/dask/values.yaml index 78c3fcb..338c224 100644 --- a/dask/values.yaml +++ b/dask/values.yaml @@ -83,6 +83,7 @@ worker: # volumeMounts: # - name: data # mountPath: /data + annotations: {} # Annotations tolerations: [] # Tolerations. affinity: {} # Container affinity. nodeSelector: {} # Node Selector.