diff --git a/stable/datadog/Chart.yaml b/stable/datadog/Chart.yaml index d5fc8a1a2d..66fda8d802 100755 --- a/stable/datadog/Chart.yaml +++ b/stable/datadog/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: datadog -version: 1.38.9 +version: 1.38.10 appVersion: "6" description: DataDog Agent keywords: diff --git a/stable/datadog/README.md b/stable/datadog/README.md index 00cc82b3e9..0955fcbbb7 100644 --- a/stable/datadog/README.md +++ b/stable/datadog/README.md @@ -348,6 +348,7 @@ helm install --name \ | `clusterAgent.confd` | Additional check configurations (static and Autodiscovery) | `nil` | | `clusterAgent.podAnnotations` | Annotations to add to the Cluster Agent Pod(s) | `nil` | | `clusterAgent.priorityClassName` | Name of the priorityClass to apply to the Cluster Agent | `nil` | +| `clusterAgent.nodeSelector` | Node selectors to apply to the Cluster Agent deployment | `nil` | | `clusterAgent.resources.requests.cpu` | CPU resource requests | `200m` | | `clusterAgent.resources.limits.cpu` | CPU resource limits | `200m` | | `clusterAgent.resources.requests.memory` | Memory resource requests | `256Mi` | diff --git a/stable/datadog/templates/cluster-agent-deployment.yaml b/stable/datadog/templates/cluster-agent-deployment.yaml index effbff639c..289d6e045e 100644 --- a/stable/datadog/templates/cluster-agent-deployment.yaml +++ b/stable/datadog/templates/cluster-agent-deployment.yaml @@ -180,4 +180,8 @@ spec: {{ toYaml .Values.clusterAgent.affinity | indent 8 }} {{- end }} serviceAccountName: {{ if .Values.rbac.create }}{{ template "datadog.fullname" . }}-cluster-agent{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }} + {{- if .Values.clusterAgent.nodeSelector }} + nodeSelector: +{{ toYaml .Values.clusterAgent.nodeSelector | indent 8 }} + {{- end }} {{ end }} diff --git a/stable/datadog/values.yaml b/stable/datadog/values.yaml index 4ff4251571..86d26cea56 100644 --- a/stable/datadog/values.yaml +++ b/stable/datadog/values.yaml @@ -402,6 +402,13 @@ clusterAgent: # priorityClassName: system-cluster-critical + ## @param nodeSelector - object - optional + ## Allow the Cluster Agent Deployment to schedule on selected nodes + ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector + ## Ref: https://kubernetes.io/docs/user-guide/node-selection/ + # + # nodeSelector: {} + ## @param livenessProbe - object - optional ## Override the agent's liveness probe logic from the default: ## In case of issues with the probe, you can disable it with the