observability-pipelines-worker

by Datadog

Helm chartv2.26.2App 2.26.2Verified publisherOfficial

Observability Pipelines Worker

About this chart

Observability Pipelines Worker

How to use Datadog Helm repository

You need to add this repository to your Helm repositories:

helm repo add datadog https://helm.datadoghq.com
helm repo update

Quick start

Installing the Observability Pipelines Worker chart

To install the chart with the release name <RELEASE_NAME> run:

helm install --name <RELEASE_NAME> \
  --set datadog.apiKey=<DD_API_KEY> \
  --set datadog.pipelineId=<DD_OP_PIPELINE_ID> \
  datadog/observability-pipelines-worker

By default, this chart creates secrets for your Observability Pipelines API key. However, you can use manually created Secrets by setting the datadog.apiKeyExistingSecret values (see Creating a Secret, below).

Note: When creating the Secret(s), be sure to name the key fields api-key.

After a few minutes, you should see your new pipeline active in Datadog.

Note: You can set your Datadog site using the datadog.site option.

helm install --name <RELEASE_NAME> \
    --set datadog.apiKey=<DD_API_KEY> \
    --set datadog.pipelineId=<DD_OP_PIPELINE_ID> \
    --set datadog.site=<DATADOG_SITE> \
    datadog/observability-pipelines-worker

Create and provide a Secret that contains your Datadog API Key

To create a Secret that contains your Datadog API key, replace the <DATADOG_API_KEY> below with the API key for your organization. This Secret is used in the manifest to deploy the Observability Pipelines Worker.

export DATADOG_SECRET_NAME=datadog-secrets
kubectl create secret generic $DATADOG_SECRET_NAME \
    --from-literal api-key="<DD_API_KEY>" \

Note: This creates a Secret in the default Namespace. If you are using a custom Namespace, update the Namespace flag of the command before running it.

Now, the installation command contains a reference to the Secret.

helm install --name <RELEASE_NAME> \
  --set datadog.apiKeyExistingSecret=$DATADOG_SECRET_NAME \
  datadog/observability-pipelines-worker

Uninstalling the chart

To uninstall the <RELEASE_NAME> release:

helm delete <RELEASE_NAME>

The command removes all the Kubernetes components associated with the chart and deletes the release.

Values

KeyTypeDefaultDescription
affinityobject{}Configure affinity and anti-affinity.
argslist["run"]Override default image arguments.
autoscaling.behaviorobject{}Configure separate scale-up and scale-down behaviors.
autoscaling.enabledboolfalseIf true, create a HorizontalPodAutoscaler.
autoscaling.maxReplicasint10Specify the maximum number of replicas.
autoscaling.minReplicasint1Specify the minimum number of replicas.
autoscaling.targetCPUUtilizationPercentageint80Specify the target CPU utilization.
autoscaling.targetMemoryUtilizationPercentageintnilSpecify the target memory utilization.
commandlist[]Override default image command.
commonLabelsobject{}Labels to apply to all resources.
containerPortslist[]Manually define ContainerPort array, overriding automated generation of ContainerPorts.
datadog.apiKeystringnilSpecify your Datadog API key.
datadog.apiKeyExistingSecretstring""Specify a preexisting Secret that has your API key instead of creating a new one. The value must be stored under the api-key.
datadog.bootstrapobject{"config":{},"secretFileContents":{}}Provide a bootstrap file that conforms to the options provided in this documentation: https://docs.datadoghq.com/observability_pipelines/configuration/install_the_worker/advanced_worker_configurations/#bootstrap-options
datadog.bootstrap.configobject{}The bootstrap file contents. Use only if secretFileContents is not provided.
datadog.bootstrap.secretFileContentsobject{}Additional helper for the "secrets" portion of the bootstrap file. Use if your backend_type is of type 'file'. Helm chart will copy the provided secrets into a new file, and correctly setup the bootstrap to point to the secrets file in bootstrap.config. eg: { "SOURCE_DATADOG_AGENT_ADDRESS" : " 0.0.0.0:8282" }
datadog.dataDirstring"/var/lib/observability-pipelines-worker"The data directory for OPW to store runtime data in.
datadog.pipelineIdstringnilSpecify your Datadog Observability Pipelines pipeline ID
datadog.proxyobject{"http":"","https":"","noProxy":[]}Configure proxy settings for the Worker. ref: https://docs.datadoghq.com/observability_pipelines/setup/
datadog.proxy.httpstring""HTTP proxy URL. Sets the DD_PROXY_HTTP environment variable.
datadog.proxy.httpsstring""HTTPS proxy URL. Sets the DD_PROXY_HTTPS environment variable.
datadog.proxy.noProxylist[]List of hosts or CIDRs to bypass the proxy. Sets the DD_PROXY_NO_PROXY environment variable (comma-separated).
datadog.sitestring"datadoghq.com"The site of the Datadog intake to send data to.
datadog.workerAPI.addressstring"0.0.0.0:8686"Local address to bind the Worker's API to. if you change this port, you'll need to update the livenessProbe and readinessProbe
datadog.workerAPI.enabledbooltrueWhether to enable the Worker's API.
dnsConfigobject{}Specify the dnsConfig.
dnsPolicystring"ClusterFirst"Specify the dnsPolicy.
envlist[]Define environment variables.
envFromlist[]Define environment variables from ConfigMap or Secret data.
extraContainerslist[]Specify extra Containers to be added.
extraVolumeMountslist[]Specify Additional VolumeMounts to use.
extraVolumeslist[]Specify additional Volumes to use.
fullnameOverridestring""Override the fully qualified app name.
image.digeststringnilSpecify the image digest to use; takes precedence over image.tag.
image.namestring"observability-pipelines-worker"Specify the image name to use (relative to image.repository).
image.pullPolicystring"IfNotPresent"Specify the pullPolicy.
image.pullSecretslist[]Specify the imagePullSecrets.
image.repositorystring"gcr.io/datadoghq"Specify the image repository to use.
image.tagstring"2.26.2"Specify the image tag to use.
ingress.annotationsobject{}Specify annotations for the Ingress.
ingress.classNamestring""Specify the ingressClassName, requires Kubernetes >= 1.18.
ingress.enabledboolfalseIf true, create an Ingress resource.
ingress.hostslist[]Configure the hosts and paths for the Ingress.
ingress.tlslist[]Configure TLS for the Ingress.
initContainerslist[]Specify initContainers to be added.
lifecycleobject{}Specify lifecycle hooks for Containers.
livenessProbeobject{"failureThreshold":5,"initialDelaySeconds":15,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":15}Specify the livenessProbe configuration. When no probe handler (httpGet, tcpSocket, exec, grpc) is provided, the chart defaults to tcpSocket on the Worker API port (8686) — chosen because the Worker API is a gRPC (HTTP/2) server and tcpSocket is compatible with every supported Kubernetes version. Setting any handler in your values disables the default, so existing overrides are not coalesced with it.
nameOverridestring""Override the name of the app.
nodeSelectorobject{}Configure nodeSelector.
persistence.accessModeslist["ReadWriteOnce"]Specify the accessModes for PersistentVolumeClaims.
persistence.annotationsobject{}Specify the annotations for PersistentVolumeClaimsTemplates.
persistence.enabledboolfalseIf true, create and use PersistentVolumeClaims.
persistence.existingClaimstring""Name of an existing PersistentVolumeClaim to use.
persistence.finalizerslist["kubernetes.io/pvc-protection"]Specify the finalizers of PersistentVolumeClaims.
persistence.retentionPolicyobject{}Set the PVC retention policy. See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
persistence.selectorobject{}Specify the selectors for PersistentVolumeClaims.
persistence.sizestring"10Gi"Specify the size of PersistentVolumeClaims.
persistence.storageClassNamestringnilSpecify the storageClassName for PersistentVolumeClaims.
podAnnotationsobject{}Set annotations on Pods.
podDisruptionBudget.enabledboolfalseIf true, create a PodDisruptionBudget.
podDisruptionBudget.maxUnavailableintnilSpecify the number of Pods that can be unavailable after an eviction.
podDisruptionBudget.minAvailableint1Specify the number of Pods that must still be available after an eviction.
podHostNetworkboolfalseEnable the hostNetwork option on Pods.
podLabelsobject{}Set labels on Pods.
podManagementPolicystring"Parallel"Specify the podManagementPolicy.
podPriorityClassNamestring""Set the priorityClassName.
podSecurityContextobject{}Allows you to overwrite the default PodSecurityContext.
readinessProbeobject{"failureThreshold":3,"initialDelaySeconds":15,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":15}Specify the readinessProbe configuration. When no probe handler (httpGet, tcpSocket, exec, grpc) is provided, the chart defaults to tcpSocket on the Worker API port (8686) — chosen because the Worker API is a gRPC (HTTP/2) server and tcpSocket is compatible with every supported Kubernetes version. Setting any handler in your values disables the default, so existing overrides are not coalesced with it.
replicasint1Specify the number of replicas to create.
resourcesobject{"requests":{"cpu":2,"memory":"4Gi"}}Specify resource requests and limits. The default requests are conservative recommendations for typical Worker workloads; tune for your pipeline throughput. Limits are intentionally omitted by default — see the commented example below.
securityContextobject{}Specify securityContext for Containers.
service.annotationsobject{}Specify annotations for the Service.
service.enabledbooltrueIf true, create a Service resource.
service.externalTrafficPolicystring""Specify the externalTrafficPolicy.
service.ipFamilieslist[]Configure IPv4/IPv6 dual-stack.
service.ipFamilyPolicystring""Configure IPv4/IPv6 dual-stack.
service.loadBalancerIPstring""Specify the loadBalancerIP.
service.portsarray[]Manually set the ServicePort array, overriding automated generation of ServicePorts.
service.topologyKeysarraynilSpecify the topologyKeys.
service.typestring"ClusterIP"Specify the type for the Service.
serviceAccount.annotationsobject{}Annotations to add to the ServiceAccount, if serviceAccount.create is true.
serviceAccount.createbooltrueIf true, create a ServiceAccount.
serviceAccount.namestring"default"Specify a preexisting ServiceAccount to use if serviceAccount.create is false.
serviceHeadless.enabledbooltrueIf true, create a "headless" Service resource.
terminationGraceP

Deploy observability-pipelines-worker with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has observability-pipelines-worker 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 chartobservability-pipelines-worker is pinned at v2.26.2 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