Prerequisites
Before you begin, you will need the following:- A running Talos cluster. If you don’t have one yet, see the Getting Started guide.
kubectlandhelminstalled locally.- A Datadog account with an API and application key.
- Your Datadog site. This is visible in the URL when you are logged into Datadog, for example
us5.datadoghq.com.
Step 1: Create the variables
Define the variables that will be used throughout this guide. Replace each placeholder with your actual values:Step 2: Add the Datadog Helm repository
Add the official Datadog Helm repository and update your local cache:Step 3: Create the namespace and store your credentials
Create a dedicated namespace for the Datadog Agent, then store your API key and application key as a Kubernetes secret.Step 4: Create the values file
Create a file namedvalues.yaml with the following contents. The providers.talos.enabled flag activates all Talos-specific configuration adjustments in the chart. The kubelet.tlsVerify flag is set to false because Talos uses self-signed kubelet certificates.
Step 5: Install the Datadog Agent
Install the Datadog Agent using the Helm chart and the values file you created:Step 6: Verify the deployment
Check that all Datadog pods have started successfully:Running status with 0 restarts. You should see output similar to the following:
2/2 Running, navigate to Infrastructure in the Datadog UI. Your Talos node should appear in the host list with a status of Active.