set default to 50 plus add docs

This commit is contained in:
Tom Dyas 2020-06-05 21:41:28 -07:00
parent 51fd8a91d3
commit 0d0da6df5f
2 changed files with 11 additions and 1 deletions

View File

@ -189,3 +189,13 @@ Now that we have verified that ExternalDNS will automatically manage DigitalOcea
$ kubectl delete service -f nginx.yaml $ kubectl delete service -f nginx.yaml
$ kubectl delete service -f externaldns.yaml $ kubectl delete service -f externaldns.yaml
``` ```
## Advanced Usage
### API Page Size
If you have a large number of domains and/or records within a domain, you may encounter API
rate limiting because of the number of API calls that external-dns must make to the DigitalOcean API to retrieve
the current DNS configuration during every reconciliation loop. If this is the case, use the
`--digitalocean-api-page-size` option to increase the size of the pages used when querying the DigitalOcean API.
(Note: external-dns uses a default of 50.)

View File

@ -238,7 +238,7 @@ var defaultConfig = &Config{
NS1IgnoreSSL: false, NS1IgnoreSSL: false,
TransIPAccountName: "", TransIPAccountName: "",
TransIPPrivateKeyFile: "", TransIPPrivateKeyFile: "",
DigitalOceanAPIPageSize: 200, DigitalOceanAPIPageSize: 50,
} }
// NewConfig returns new Config object // NewConfig returns new Config object