Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions hugo/content/en/database_monitoring/setup_mysql/rds.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,54 @@
kubectl apply -f datadog-agent.yaml
```

#### Connecting over SSL

Check warning on line 335 in hugo/content/en/database_monitoring/setup_mysql/rds.md

View workflow job for this annotation

GitHub Actions / vale

Datadog.headings

'Connecting over SSL' should use sentence-style capitalization.

If your RDS or Aurora MySQL instance requires SSL (for example, `rds.force_ssl` is enabled), store the CA certificate in a Kubernetes `Secret` and mount it into the pod that runs the cluster check—the cluster check runner if you use one, otherwise the Cluster Agent—so the MySQL check can reference it:

Check notice on line 337 in hugo/content/en/database_monitoring/setup_mysql/rds.md

View workflow job for this annotation

GitHub Actions / vale

Datadog.sentencelength

Suggestion: Try to keep your sentence length to 25 words or fewer.

```yaml
apiVersion: v1
kind: Secret
metadata:
name: rds-ca-cert
type: Opaque
data:
ca-cert.pem: <BASE64_ENCODED_CA_CERT>
```

```yaml
spec:
#(...)
override:
clusterChecksRunner:
volumes:
- name: rds-ca-cert
secret:
secretName: rds-ca-cert
containers:
agent:
volumeMounts:
- name: rds-ca-cert
mountPath: /etc/certs/rds-ca-cert
readOnly: true
clusterAgent:
extraConfd:
configDataMap:
mysql.yaml: |-
cluster_check: true
init_config:
instances:
- host: <AWS_INSTANCE_ENDPOINT>
port: <PORT>
username: datadog
password: 'ENC[datadog_user_database_password]'
dbm: true
ssl:
ca: /etc/certs/rds-ca-cert/ca-cert.pem
aws:
instance_endpoint: <AWS_INSTANCE_ENDPOINT>
region: <AWS_REGION>
```

### Helm

1. Complete the [Datadog Agent installation instructions][4] for Helm.
Expand Down
Loading