mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-10-15 11:50:59 +02:00
Add metrics info to FAQ
This commit is contained in:
parent
4e0d5c1cff
commit
a19cc0a3d0
14
docs/faq.md
14
docs/faq.md
@ -28,7 +28,7 @@ ExternalDNS can solve this for you as well.
|
|||||||
|
|
||||||
### Which DNS providers are supported?
|
### Which DNS providers are supported?
|
||||||
|
|
||||||
Currently, the following providers are supported:
|
Currently, the following providers are supported:
|
||||||
|
|
||||||
- Google CloudDNS
|
- Google CloudDNS
|
||||||
- AWS Route 53
|
- AWS Route 53
|
||||||
@ -155,6 +155,18 @@ CNAMEs cannot co-exist with other records, therefore you can use the `--txt-pref
|
|||||||
|
|
||||||
You need to add either https://www.googleapis.com/auth/ndev.clouddns.readwrite or https://www.googleapis.com/auth/cloud-platform on your instance group's scope.
|
You need to add either https://www.googleapis.com/auth/ndev.clouddns.readwrite or https://www.googleapis.com/auth/cloud-platform on your instance group's scope.
|
||||||
|
|
||||||
|
### What metrics can I get from ExternalDNS and what do they mean?
|
||||||
|
|
||||||
|
ExternalDNS exposes 2 types of metrics: Sources and Registry errors.
|
||||||
|
|
||||||
|
`Source`s are mostly Kubernetes API objects. Examples of `source` errors may be connection errors to the Kubernetes API server itself or missing RBAC permissions. It can also stem from incompatible configuration in the objects itself like invalid characters, processing a broken fqdnTemplate etc.
|
||||||
|
|
||||||
|
`Registry` errors are mostly Provider errors, unless there's some coding flaw in the registry package. Provider errors often arise due to accessing their APIs due to network or missing cloud-provider permissions when reading records. When applying a changeset, errors arise when the changeset applied is incompatible with the current state, in which case ExternalDNS can get stuck forever.
|
||||||
|
|
||||||
|
In case of an increased error count, you could correlate them with the `http_request_duration_seconds{handler="instrumented_http"}` metric which should show increased numbers for status codes 4xx (permissions, configuration, invalid changeset) or 5xx (apiserver down).
|
||||||
|
|
||||||
|
You can use the host label in the metric to figure out if the request was against the Kubernetes API server (Source errors) or the DNS provider API (Registry/Provider errors).
|
||||||
|
|
||||||
### How can I run ExternalDNS under a specific GCP Service Account, e.g. to access DNS records in other projects?
|
### How can I run ExternalDNS under a specific GCP Service Account, e.g. to access DNS records in other projects?
|
||||||
|
|
||||||
Have a look at https://github.com/linki/mate/blob/v0.6.2/examples/google/README.md#permissions
|
Have a look at https://github.com/linki/mate/blob/v0.6.2/examples/google/README.md#permissions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user