Skip to content

Commit

Permalink
update examples for v2 datadogagent (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
celenechang authored Nov 15, 2023
1 parent 1c2da35 commit 0b58579
Show file tree
Hide file tree
Showing 14 changed files with 59 additions and 16 deletions.
42 changes: 38 additions & 4 deletions examples/datadogagent/v2alpha1/datadog-agent-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,53 @@ spec:
apiKey: <DATADOG_API_KEY>
appKey: <DATADOG_APP_KEY>
features:
apm:
logCollection:
enabled: true
liveProcessCollection:
enabled: true
logCollection:
liveContainerCollection:
enabled: true
admissionController:
processDiscovery:
enabled: true
externalMetricsServer:
oomKill:
enabled: true
tcpQueueLength:
enabled: true
ebpfCheck:
enabled: true
apm:
enabled: true
cspm:
enabled: true
cws:
enabled: true
npm:
enabled: true
usm:
enabled: true
dogstatsd:
unixDomainSocketConfig:
enabled: true
otlp:
receiver:
protocols:
grpc:
enabled: true
remoteConfiguration:
enabled: true
sbom:
enabled: true
eventCollection:
collectKubernetesEvents: true
orchestratorExplorer:
enabled: true
kubeStateMetricsCore:
enabled: true
admissionController:
enabled: true
externalMetricsServer:
enabled: true
clusterChecks:
enabled: true
prometheusScrape:
enabled: true
12 changes: 0 additions & 12 deletions examples/datadogagent/v2alpha1/datadog-agent-logs.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions examples/datadogagent/v2alpha1/datadog-agent-with-extraconfd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: datadoghq.com/v2alpha1
kind: DatadogAgent
metadata:
name: datadog
spec:
global:
credentials:
apiKey: <DATADOG_API_KEY>
override:
nodeAgent:
extraConfd:
configMap:
name: <existing_config_map>
items:
- key: 'conf.yaml'
path: '<integration_name>.yaml'
# Alternative to referencing a configmap
# configDataMap:
# <integration_name>.yaml: |-
# init_config:
# instances:
File renamed without changes.

0 comments on commit 0b58579

Please sign in to comment.