Skip to content

Commit 5fdc298

Browse files
committed
Add DataDog agent
Followed their instructions: ``` helm repo add datadog https://helm.datadoghq.com helm install datadog-operator datadog/datadog-operator kubectl create secret generic datadog-secret --from-literal api-key=PROVIEDED_BY_DATADOG_UI vim code platform/datadog/datadog-agent.yaml (Content from DATADOG UI) kubectl apply -k platform/datadog ``` Now have their agent running and data from the cluster in DD
1 parent 17dacf3 commit 5fdc298

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: "datadoghq.com/v2alpha1"
2+
kind: "DatadogAgent"
3+
metadata:
4+
name: "datadog"
5+
spec:
6+
global:
7+
site: "datadoghq.eu"
8+
tags:
9+
- "env:prod"
10+
credentials:
11+
apiSecret:
12+
secretName: "datadog-secret"
13+
keyName: "api-key"
14+
features:
15+
logCollection:
16+
enabled: true
17+
containerCollectAll: true
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
resources:
5+
- ./datadog-agent.yaml

0 commit comments

Comments
 (0)