Skip to content

Commit

Permalink
Merge pull request #4896 from ministryofjustice/add-details-to-extern…
Browse files Browse the repository at this point in the history
…al-dns-errors

docs: ✏️ update external dns errors
  • Loading branch information
jaskaransarkaria authored Oct 18, 2023
2 parents 42eff6f + ef4032d commit 97e7a6c
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions runbooks/source/external-dns-error.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
title: How to Investigate External-Dns Errors
weight: 217
last_reviewed_on: 2023-10-03
review_in: 3 months
last_reviewed_on: 2024-04-18
review_in: 6 months
---

# <%= current_page.data.title %>

When there are errors in external-dns logs, "ErrorsInExternalDNS" alert sent to the low priority slack channel.

### Troubleshooting
## Troubleshooting

If we see an ErrorsInExternalDNS alert in low-priority-alerts, this is usually due to a external-dns have an issue to write records to Route-53 for a particual hosted zones.
You can see errors from the external-dns pod by running:
Expand All @@ -18,7 +18,7 @@ You can see errors from the external-dns pod by running:
kubectl logs -n kube-system external-dns-<pod-id> -f
```

You'll see errors similar to:
### Invalid Change Batch

```bash
level=error msg="InvalidChangeBatch: [RDATA character limit of 32000 exceeded.]"
Expand Down Expand Up @@ -46,3 +46,12 @@ level=info msg="Applying provider record filter for domains: [dev.example. .dev.
level=info msg="Desired change: CREATE cluster-a-new.dev.example TXT [Id: /hostedzone/ZZZ]"
level=info msg="All records are already up to date"
```

### Rate Limited / Throttled

```bash
level=error msg="records retrieval failed: failed to list hosted zones: Throttling: Rate exceeded\n\tstatus code: 400, request id: 9df2a-7blah"
level=error msg="failed to list resource records sets for zone /hostedzone/BLAH_MOX: Throttling: Rate exceeded\n\tstatus code: 400, request id: 0-9216-435fblah"
```

There isn't much we can do about being rate limited, acknowledge the alert.

0 comments on commit 97e7a6c

Please sign in to comment.