Skip to content

Commit

Permalink
reformat again to remove extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
yiliangzhou committed May 9, 2024
1 parent 4ef9e02 commit 6ba4e90
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions content/en/data_jobs/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,31 +48,31 @@ You can install the Datadog Agent using the [Datadog Operator][3] or [Helm][4].
1. Create a file, `datadog-agent.yaml`, that contains the following configuration:

```yaml
kind: DatadogAgent
apiVersion: datadoghq.com/v2alpha1
metadata:
name: datadog
spec:
features:
apm:
enabled: true
hostPortConfig:
enabled: true
hostPort: 8126
admissionController:
enabled: true
mutateUnlabelled: false
global:
tags:
- "data_workload_monitoring_trial:true"
site: <DATADOG_SITE>
credentials:
apiSecret:
secretName: datadog-secret
keyName: api-key
appSecret:
secretName: datadog-secret
keyName: app-key
kind: DatadogAgent
apiVersion: datadoghq.com/v2alpha1
metadata:
name: datadog
spec:
features:
apm:
enabled: true
hostPortConfig:
enabled: true
hostPort: 8126
admissionController:
enabled: true
mutateUnlabelled: false
global:
tags:
- "data_workload_monitoring_trial:true"
site: <DATADOG_SITE>
credentials:
apiSecret:
secretName: datadog-secret
keyName: api-key
appSecret:
secretName: datadog-secret
keyName: app-key
```
Replace `<DATADOG_SITE>` with your [Datadog site][5]. Your site is {{< region-param key="dd_site" code="true" >}}. (Ensure the correct SITE is selected on the right).
1. Deploy the Datadog Agent with the above configuration file:
Expand Down

0 comments on commit 6ba4e90

Please sign in to comment.