mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/datadog] Add nodeSelector for Cluster Agent Deployment (#19430)
Signed-off-by: Ivan Sukhomlyn <ivan.sukhomlyn@ring.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e226b2872b
commit
ada60df1bd
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: datadog
|
||||
version: 1.38.9
|
||||
version: 1.38.10
|
||||
appVersion: "6"
|
||||
description: DataDog Agent
|
||||
keywords:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user