Skip to content

Commit

Permalink
Add documentation about annotation-filter (#448)
Browse files Browse the repository at this point in the history
There were no documentation describing how to use the annotation-filter
parameter
  • Loading branch information
Søren Mathiasen authored and linki committed Jan 26, 2018
1 parent 35b033a commit a7ad512
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,15 @@ spec:
service
ingress
```
### Running an internal and external dns service
Sometimes you need to run an internal and an external dns service.
The internal one should provision hostnames used on the internal network (perhaps inside a VPC), and the external
one to expose DNS to the internet.
To do this with external-dns you can use the `--annotation-filter` to specifically tie an instance of external-dns to
an instance of a ingress controller. Let's assume you have two ingress controllers `nginx-internal` and `nginx-external`
then you can start two external-dns providers one with `--annotation-filter=kubernetes.io/ingress.class=nginx-internal`
and one with `--annotation-filter=kubernetes.io/ingress.class=nginx-external`

0 comments on commit a7ad512

Please sign in to comment.