datadog-operator

by Datadog

Helm chartv2.34.0-dev.1App 1.33.0-rc.1Verified publisherOfficial

Datadog Operator

About this chart

Datadog Operator

Values

KeyTypeDefaultDescription
affinityobject{}Allows to specify affinity for Datadog Operator PODs
apiKeystringnilYour Datadog API key
apiKeyExistingSecretstringnilUse existing Secret which stores API key instead of creating a new one
appKeystringnilYour Datadog APP key
appKeyExistingSecretstringnilUse existing Secret which stores APP key instead of creating a new one
clusterNamestringnilSet a unique cluster name reporting from the Datadog Operator.
clusterRoleobject{"allowCreatePodsExec":false,"allowReadAllResources":false,"kubeletFineGrainedAuthorization":false}Set specific configuration for the cluster role
collectOperatorMetricsbooltrueConfigures an openmetrics check to collect operator metrics
containerSecurityContextobject{}A security context defines privileges and access control settings for a container.
datadogAgent.enabledbooltrueEnables Datadog Agent controller
datadogAgentInternal.enabledbooltrueEnables the Datadog Agent Internal controller
datadogAgentProfile.enabledboolfalseIf true, enables DatadogAgentProfile controller (beta). Requires v1.5.0+
datadogBYOCCluster.enabledboolfalseEnables the DatadogBYOCCluster and DatadogObservabilityPipelinesWorker controllers. Requires the datadogCRDs.crds.datadogBYOCClusters and datadogCRDs.crds.datadogObservabilityPipelinesWorkers CRDs. Requires v1.32.0+
datadogCRDs.crds.datadogAgentInternalsbooltrueSet to true to deploy the DatadogAgentInternals CRD
datadogCRDs.crds.datadogAgentProfilesboolfalseSet to true to deploy the DatadogAgentProfile CRD
datadogCRDs.crds.datadogAgentsbooltrueSet to true to deploy the DatadogAgents CRD
datadogCRDs.crds.datadogBYOCClustersboolfalseSet to true to deploy the DatadogBYOCClusters CRD. Requires datadogCRDs.crds.datadogObservabilityPipelinesWorkers
datadogCRDs.crds.datadogCSIDriversbooltrueSet to true to deploy the DatadogCSIDriver CRD
datadogCRDs.crds.datadogDashboardsboolfalseSet to true to deploy the DatadogDashboard CRD
datadogCRDs.crds.datadogGenericResourcesboolfalseSet to true to deploy the DatadogGenericResource CRD
datadogCRDs.crds.datadogInstrumentationsbooltrueSet to true to deploy the DatadogInstrumentations CRD
datadogCRDs.crds.datadogMetricsbooltrueSet to true to deploy the DatadogMetrics CRD
datadogCRDs.crds.datadogMonitorsbooltrueSet to true to deploy the DatadogMonitors CRD
datadogCRDs.crds.datadogObservabilityPipelinesWorkersboolfalseSet to true to deploy the DatadogObservabilityPipelinesWorkers CRD
datadogCRDs.crds.datadogPodAutoscalerClusterProfilesbooltrueSet to true to deploy the DatadogPodAutoscalerClusterProfiles CRD
datadogCRDs.crds.datadogPodAutoscalersbooltrueSet to true to deploy the DatadogPodAutoscalers CRD
datadogCRDs.crds.datadogSLOsboolfalseSet to true to deploy the DatadogSLO CRD
datadogCSIDriver.enabledbooltrueEnables the Datadog CSI Driver controller
datadogDashboard.enabledboolfalseEnables the Datadog Dashboard controller
datadogGenericResource.enabledboolfalseEnables the Datadog Generic Resource controller
datadogMonitor.enabledboolfalseEnables the Datadog Monitor controller
datadogSLO.enabledboolfalseEnables the Datadog SLO controller
dd_urlstringnilThe host of the Datadog intake server to send Agent data to, only set this option if you need the Agent to send data to a custom URL
defaultDataPlaneEnabled.linuxbooltrueEnables Agent Data Plane by default for Linux Operator-managed workloads using Agent 7.84 or later when spec.features.dataPlane.enabled is absent. Set to false to disable. An explicit spec.features.dataPlane.enabled setting overrides this value. Windows is not affected and is handled separately.
deployment.annotationsobject{}Allows setting additional annotations for the deployment resource
dnsConfigobject{}Specify DNS configuration options for Datadog Operator PODs
envlist[]Define any environment variables to be passed to the operator.
fullnameOverridestring""
image.doNotCheckTagboolfalsePermit skipping operator image tag compatibility with the chart.
image.pullPolicystring"IfNotPresent"Define the pullPolicy for Datadog Operator image
image.repositorystring"registry.datadoghq.com/operator"Repository to use for Datadog Operator image
image.tagstring"1.33.0-rc.1"Define the Datadog Operator version to use
imagePullSecretslist[]Datadog Operator repository pullSecret (ex: specify docker registry credentials)
installCRDsbooltrueSet to true to deploy the Datadog's CRDs
introspection.enabledboolfalseIf true, enables introspection feature (beta). Requires v1.4.0+
livenessProbeobject{"initialDelaySeconds":15,"periodSeconds":10}Add default livenessProbe settings. HTTP GET is not configurable as it is hardcoded in the Operator.
logLevelstring"info"Set Datadog Operator log level (debug, info, error, panic, fatal)
maximumGoroutinesstringnilOverride default goroutines threshold for the health check failure.
metricsPortint8383Port used for OpenMetrics endpoint
nameOverridestring""Override name of app
nodeSelectorobject{"kubernetes.io/os":"linux"}Allows to schedule Datadog Operator on specific nodes
operatorMetricsEnabledstring"true"Enable forwarding of Datadog Operator metrics and events to Datadog.
podAnnotationsobject{}Allows setting additional annotations for Datadog Operator PODs
podLabelsobject{}Allows setting additional labels for for Datadog Operator PODs
priorityClassNamestringnilAllows setting the priority class name for Datadog Operator PODs
rbac.createbooltrueSpecifies whether the RBAC resources should be created
remoteConfiguration.enabledboolfalseIf true, enables Remote Configuration in the Datadog Operator (beta). Requires clusterName, API and App keys to be set.
replicaCountint1Number of instances of Datadog Operator
resourcesobject{}Set resources requests/limits for Datadog Operator PODs
secretBackend.argumentsstring""Specifies the space-separated arguments passed to the command that implements the secret backend api
secretBackend.commandstring""Specifies the path to the command that implements the secret backend api
secretBackend.refreshIntervalstringnilSpecifies the secret backend refresh interval in seconds.
serviceAccount.annotationsobject{}Allows setting additional annotations for service account
serviceAccount.automountServiceAccountTokenbooltrueSpecifies whether the service account token should be automatically mounted
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestringnilThe name of the service account to use. If not set name is generated using the fullname template
sitestringnilThe site of the Datadog intake to send data to (documentation: https://docs.datadoghq.com/getting_started/site/)
supportExtendedDaemonsetstring"false"If true, supports using ExtendedDaemonSet CRD
tolerationslist[]Allows to schedule Datadog Operator on tainted nodes
untaintController.enabledboolfalseEnables the Untaint controller, which removes the agent.datadoghq.com/not-ready=presence:NoSchedule startup taint from nodes once the Agent is ready. Grants the operator patch permission on nodes. Requires v1.28.0+
untaintController.eventsEnabledboolfalseEmit Kubernetes Events on Nodes for taint removals and timeout decisions.
untaintController.schedulingTimeoutstring""Scheduling timeout (Go duration, e.g. "5m") applied when no Agent pod has scheduled on the node. Empty uses the operator default (5m).
untaintController.timeoutstring""Readiness timeout (Go duration, e.g. "10m") after which the timeout policy is applied even if the Agent is not Ready. Empty uses the operator default (10m).
untaintController.timeoutPolicystring""Action when a timeout fires: "remove" (untaint the node anyway) or "keep" (leave the taint and emit a Warning event). Empty uses the operator default (remove).
untaintController.waitForCSIDriverboolfalseWhen true (requires untaintController.enabled), the taint is removed only after both the node Agent and Datadog CSI node-server pods are Ready. The operator's Pod cache must cover the CSI namespaces (DD_CSIDRIVER_WATCH_NAMESPACE). Requires v1.28.0+
volumeMountslist[]Specify additional volumes to mount in the container
volumeslist[]Specify additional volumes to mount in the container
watchNamespaceslist[]Restricts the Operator to watch its managed resources on specific namespaces unless CRD-specific watchNamespaces properties are set
watchNamespacesAgentlist[]Restricts the Operator to watch DatadogAgent resources on specific namespaces. Requires v1.8.0+
watchNamespacesAgentProfilelist[]Restricts the Operator to watch DatadogAgentProfile resources on specific namespaces. Requires v1.8.0+
watchNamespacesDashboardlist[]Restricts the Operator to watch DatadogDashboard resources on specific namespaces. Requires v1.13.0+
watchNamespacesGenericResourcelist[]Restricts the Operator to watch DatadogGenericResource resources on specific namespaces. Requires v1.13.0+
watchNamespacesMonitorlist[]Restricts the Operator to watch DatadogMonitor resources on specific namespaces. Requires v1.8.0+
watchNamespacesSLOlist[]Restricts the Operator to watch DatadogSLO resources on specific namespaces. Requires v1.8.0+

How to configure which namespaces are watched by the Operator.

By default, the Operator only watches resources (DatadogAgent, DatadogMonitor) that are present in the same namespace.

It is possible to configure the Operator to watch resources that are present in one or several specific namespaces.

watchNamespaces:
- "default"
- "datadog"

To watch all namespaces, the following configuration needs to be used:

watchNamespaces:
- ""

Deploy datadog-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has datadog-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdatadog-operator is pinned at v2.34.0-dev.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply