mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/datadog] add configurable affinity and tolerations (#5383)
* [stable/datadog] add configurable affinity and tolerations * [stable/datadog] increase chart version * [stable/datadog] uncomment empty tolerations and affinity for deployment * Update Chart.yaml
This commit is contained in:
committed by
k8s-ci-robot
parent
df4ee0c9ad
commit
deb9980821
@@ -1,5 +1,5 @@
|
||||
name: datadog
|
||||
version: 0.13.1
|
||||
version: 0.14.0
|
||||
appVersion: 6.2.1
|
||||
description: DataDog Agent
|
||||
keywords:
|
||||
|
||||
@@ -64,6 +64,8 @@ The following table lists the configurable parameters of the Datadog chart and t
|
||||
| `daemonset.nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `datadog.leaderElection` | Adds the leader Election feature | `false` |
|
||||
| `datadog.leaderLeaseDuration`| The duration for which a leader stays elected.| `nil` |
|
||||
| `deployment.affinity` | Node / Pod affinities | `{}` |
|
||||
| `deployment.tolerations` | List of node taints to tolerate | `[]` |
|
||||
| `kube-state-metrics.rbac.create`| If true, create & use RBAC resources for kube-state-metrics | `true` |
|
||||
| `kube-state-metrics.rbac.serviceAccount` | existing ServiceAccount to use (ignored if rbac.create=true) for kube-state-metrics | `default` |
|
||||
|
||||
|
||||
@@ -135,6 +135,14 @@ spec:
|
||||
{{- if .Values.datadog.volumes }}
|
||||
{{ toYaml .Values.datadog.volumes | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.deployment.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.deployment.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.deployment.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.deployment.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ if .Values.rbac.create }}{{ template "datadog.fullname" . }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
@@ -51,6 +51,12 @@ daemonset:
|
||||
deployment:
|
||||
enabled: false
|
||||
replicas: 1
|
||||
# Affinity for pod assignment
|
||||
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
affinity: {}
|
||||
# Tolerations for pod assignment
|
||||
# Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
tolerations: []
|
||||
|
||||
## deploy the kube-state-metrics deployment
|
||||
## ref: https://github.com/kubernetes/charts/tree/master/stable/kube-state-metrics
|
||||
|
||||
Reference in New Issue
Block a user