mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* [stable/datadog] Fix volumes/volumeMounts typo in example values The chart looks for values named `volumes` and `volumeMounts`. * [stable/datadog] Fix unquoted truthy value in values.yaml * [stable/datadog] Set chart version to 0.8.4
158 lines
4.8 KiB
YAML
158 lines
4.8 KiB
YAML
# Default values for datadog.
|
|
image:
|
|
repository: datadog/docker-dd-agent
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
|
|
# NB! Normally you need to keep Datadog DaemonSet enabled!
|
|
# The exceptional case could be a situation when you need to run
|
|
# single DataDog pod per every namespace, but you do not need to
|
|
# re-create a DaemonSet for every non-default namespace install.
|
|
# Note, that StatsD and DogStatsD work over UDP, so you may not
|
|
# get guaranteed delivery of the metrics in Datadog-per-namespace setup!
|
|
daemonset:
|
|
enabled: true
|
|
## Bind ports on the hostNetwork. Useful for CNI networking where hostPort might
|
|
## not be supported. The ports will need to be available on all hosts. Can be
|
|
## used for custom metrics instead of a service endpoint.
|
|
## WARNING: Make sure that hosts using this are properly firewalled otherwise
|
|
## metrics and traces will be accepted from any host able to connect to this host.
|
|
# useHostNetwork: true
|
|
|
|
## Sets the hostPort to the same value of the container port. Can be used as
|
|
## for sending custom metrics. The ports will need to be available on all
|
|
## hosts.
|
|
## WARNING: Make sure that hosts using this are properly firewalled otherwise
|
|
## metrics and traces will be accepted from any host able to connect to this host.
|
|
# useHostPort: true
|
|
|
|
## Annotations to add to the DaemonSet's Pods
|
|
# podAnnotations:
|
|
# scheduler.alpha.kubernetes.io/tolerations: '[{"key": "example", "value": "foo"}]'
|
|
|
|
## Allow the DaemonSet to schedule on tainted nodes (requires Kubernetes >= 1.6)
|
|
# tolerations: []
|
|
|
|
## Allow the DaemonSet to perform a rolling update on helm update
|
|
## ref: https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/
|
|
# updateStrategy: RollingUpdate
|
|
|
|
# Apart from DaemonSet, deploy Datadog agent pods and related service for
|
|
# applications that want to send custom metrics. Provides DogStasD service.
|
|
#
|
|
# HINT: If you want to use datadog.collectEvents, keep deployment.replicas set to 1.
|
|
deployment:
|
|
enabled: false
|
|
replicas: 1
|
|
|
|
## deploy the kube-state-metrics deployment
|
|
## ref: https://github.com/kubernetes/charts/tree/master/stable/kube-state-metrics
|
|
##
|
|
kubeStateMetrics.enabled: true
|
|
|
|
datadog:
|
|
## You'll need to set this to your Datadog API key before the agent will run.
|
|
## ref: https://app.datadoghq.com/account/settings#agent/kubernetes
|
|
##
|
|
# apiKey:
|
|
|
|
## dd-agent container name
|
|
##
|
|
name: dd-agent
|
|
|
|
## Set logging verbosity.
|
|
## ref: https://github.com/DataDog/docker-dd-agent#environment-variables
|
|
##
|
|
logLevel: WARNING
|
|
|
|
## Un-comment this to make each node accept non-local statsd traffic.
|
|
## ref: https://github.com/DataDog/docker-dd-agent#environment-variables
|
|
##
|
|
# nonLocalTraffic: true
|
|
|
|
## Set host tags.
|
|
## ref: https://github.com/DataDog/docker-dd-agent#environment-variables
|
|
##
|
|
# tags:
|
|
|
|
## Enables event collection from the kubernetes API
|
|
## ref: https://github.com/DataDog/docker-dd-agent#environment-variables
|
|
##
|
|
collectEvents: false
|
|
|
|
## Un-comment this to enable APM and tracing, on ports 7777 and 8126
|
|
## ref: https://github.com/DataDog/docker-dd-agent#tracing-from-the-host
|
|
##
|
|
# apmEnabled: true
|
|
|
|
## The dd-agent supports many environment variables
|
|
## ref: https://github.com/DataDog/docker-dd-agent#environment-variables
|
|
##
|
|
# env:
|
|
# - name:
|
|
# value:
|
|
|
|
## The dd-agent supports detailed process and container monitoring and
|
|
## requires control over the volume and volumeMounts for the daemonset
|
|
## or deployment.
|
|
## ref: https://docs.datadoghq.com/guides/process/
|
|
##
|
|
# volumes:
|
|
# - hostPath:
|
|
# path: /etc/passwd
|
|
# name: passwd
|
|
# volumeMounts:
|
|
# - name: passwd
|
|
# mountPath: /etc/passwd
|
|
# readOnly: true
|
|
|
|
## Provide additonal service definitions
|
|
## Each key will become a file in /conf.d/auto_conf
|
|
## ref: https://github.com/DataDog/docker-dd-agent#configuration-files
|
|
##
|
|
autoconf:
|
|
kubernetes_state.yaml: |-
|
|
docker_images:
|
|
- kube-state-metrics
|
|
init_config:
|
|
instances:
|
|
- kube_state_url: http://%%host%%:%%port%%/metrics
|
|
|
|
## Provide additonal service definitions
|
|
## Each key will become a file in /conf.d
|
|
## ref: https://github.com/DataDog/docker-dd-agent#configuration-files
|
|
##
|
|
# confd:
|
|
# redisdb.yaml: |-
|
|
# init_config:
|
|
# instances:
|
|
# - host: "name"
|
|
# port: "6379"
|
|
|
|
## Provide additonal service checks
|
|
## Each key will become a file in /checks.d
|
|
## ref: https://github.com/DataDog/docker-dd-agent#configuration-files
|
|
##
|
|
# checksd:
|
|
# service.py: |-
|
|
|
|
## dd-agent resource requests and limits
|
|
## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
##
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 256m
|
|
memory: 512Mi
|
|
|
|
rbac:
|
|
## If true, create & use RBAC resources
|
|
create: true
|
|
|
|
## Ignored if rbac.create is true
|
|
serviceAccountName: default
|
|
|
|
tolerations: []
|