Skip to content

Commit bb20f4f

Browse files
Add rollouts docs | SDCD-1289 (#29537)
* Add rollouts docs * Fix tabs * Undo random changes * Apply suggestions from code review Co-authored-by: Joe Peeples <joe.peeples@datadoghq.com> --------- Co-authored-by: Joe Peeples <joe.peeples@datadoghq.com>
1 parent fc85961 commit bb20f4f

File tree

1 file changed

+14
-8
lines changed
  • content/en/continuous_delivery/deployments

1 file changed

+14
-8
lines changed

content/en/continuous_delivery/deployments/argocd.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,15 @@ Datadog CD Visibility integrates with Argo CD by using [Argo CD Notifications][2
3131

3232
The setup below uses the [Webhook notification service][5] of Argo CD to send notifications to Datadog.
3333

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)
3542

36-
{{< tabs >}}
37-
{{% tab "Regular setup (with kubectl apply)" %}}
3843
Modify the `argocd-notifications-cm` ConfigMap to create the notification service, template, and trigger to send notifications to Datadog:
3944

4045
```yaml
@@ -70,8 +75,9 @@ data:
7075
- when: app.status.operationState.phase == 'Running' and app.status.health.status in ['Healthy', 'Degraded']
7176
send: [cd-visibility-template]
7277
```
73-
{{% /tab %}}
74-
{{% tab "Helm" %}}
78+
79+
### Helm setup
80+
7581
If you used Helm to install Argo CD, add the following configuration to your `values.yaml`:
7682

7783
```yaml
@@ -106,8 +112,8 @@ notifications:
106112
- when: app.status.operationState.phase == 'Running' and app.status.health.status in ['Healthy', 'Degraded']
107113
send: [cd-visibility-template]
108114
```
109-
{{% /tab %}}
110-
{{< /tabs >}}
115+
116+
### Configuration summary
111117

112118
The following resources have been added:
113119
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
239245
- `tags.datadoghq.com/service` (required): specifies the Datadog service of this resource. For more information, see [Unified Service Tagging][18].
240246
- `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.
241247

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`.
243249

244250
Add the following annotations to your Argo CD application:
245251
- `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

Comments
 (0)