[stable/datadog] Add nodeSelector for Cluster Agent Deployment (#19430)

Signed-off-by: Ivan Sukhomlyn <ivan.sukhomlyn@ring.com>
This commit is contained in:
Ivan Sukhomlyn
2019-12-13 06:02:54 -08:00
committed by Kubernetes Prow Robot
parent e226b2872b
commit ada60df1bd
4 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: datadog
version: 1.38.9
version: 1.38.10
appVersion: "6"
description: DataDog Agent
keywords:
+1
View File
@@ -348,6 +348,7 @@ helm install --name <RELEASE_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` |
@@ -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 }}
+7
View File
@@ -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