You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/continuous_delivery/deployments/argocd.md
+14-8Lines changed: 14 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -31,10 +31,15 @@ Datadog CD Visibility integrates with Argo CD by using [Argo CD Notifications][2
31
31
32
32
The setup below uses the [Webhook notification service][5] of Argo CD to send notifications to Datadog.
33
33
34
-
First, add your [Datadog API Key][11] in the `argocd-notifications-secret` secret with the `dd-api-key` key. See [the Argo CD guide][2] for information on modifying the `argocd-notifications-secret`. For sending notifications, the setup is different depending on whether you installed Argo CD using Helm or the regular setup (using `kubectl apply`).
34
+
First, add your [Datadog API Key][11] in the `argocd-notifications-secret` secret with the `dd-api-key` key. See [the Argo CD guide][2] for information on modifying the `argocd-notifications-secret`.
35
+
36
+
Choose one of the following setup methods based on how you installed Argo CD:
37
+
38
+
-**Regular setup (kubectl apply)**: For standard Argo CD installations using `kubectl apply`
39
+
-**Helm**: For Helm-based Argo CD deployments
40
+
41
+
### Regular setup (kubectl apply)
35
42
36
-
{{< tabs >}}
37
-
{{% tab "Regular setup (with kubectl apply)" %}}
38
43
Modify the `argocd-notifications-cm` ConfigMap to create the notification service, template, and trigger to send notifications to Datadog:
39
44
40
45
```yaml
@@ -70,8 +75,9 @@ data:
70
75
- when: app.status.operationState.phase == 'Running' and app.status.health.status in ['Healthy', 'Degraded']
71
76
send: [cd-visibility-template]
72
77
```
73
-
{{% /tab %}}
74
-
{{% tab "Helm" %}}
78
+
79
+
### Helm setup
80
+
75
81
If you used Helm to install Argo CD, add the following configuration to your `values.yaml`:
76
82
77
83
```yaml
@@ -106,8 +112,8 @@ notifications:
106
112
- when: app.status.operationState.phase == 'Running' and app.status.health.status in ['Healthy', 'Degraded']
107
113
send: [cd-visibility-template]
108
114
```
109
-
{{% /tab %}}
110
-
{{< /tabs >}}
115
+
116
+
### Configuration summary
111
117
112
118
The following resources have been added:
113
119
1. The `cd-visibility-webhook` service targets the Datadog intake and configures the correct headers for the request. The `DD-API-KEY` header references the `dd-api-key` entry added previously in the `argocd-notifications-secret`.
@@ -239,7 +245,7 @@ To enable automatic service tagging, you need to [monitor your Kubernetes infras
239
245
- `tags.datadoghq.com/service` (required): specifies the Datadog service of this resource. For more information, see [Unified Service Tagging][18].
240
246
- `team` (optional): specifies the Datadog team of this resource. If this label is omitted, the team is automatically retrieved from [Software Catalog][13] based on the service label.
241
247
242
-
Only the Kubernetes resources with the following kinds are eligible: `Deployment`, `ReplicaSet`, `StatefulSet`, `Service`, `DaemonSet`, `Pod`, `Job`, and `CronJob`.
248
+
Only the Kubernetes resources with the following kinds are eligible: `Deployment`, `Rollout`, `ReplicaSet`, `StatefulSet`, `Service`, `DaemonSet`, `Pod`, `Job`, and `CronJob`.
243
249
244
250
Add the following annotations to your Argo CD application:
245
251
- `dd_multiservice`: `true`. This annotation specifies whether Datadog automatically infers the services deployed in a sync based on the changed Kubernetes resources.
0 commit comments