You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/aws.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -557,6 +557,10 @@ Annotations which are specific to AWS.
557
557
558
558
`external-dns.alpha.kubernetes.io/alias` if set to `true` on an ingress, it will create an ALIAS record when the target is an ALIAS as well. To make the target an alias, the ingress needs to be configured correctly as described in [the docs](./nginx-ingress.md#with-a-separate-tcp-load-balancer). In particular, the argument `--publish-service=default/nginx-ingress-controller` has to be set on the `nginx-ingress-controller` container. If one uses the `nginx-ingress` Helm chart, this flag can be set with the `controller.publishService.enabled` configuration option.
559
559
560
+
### target-hosted-zone
561
+
562
+
`external-dns.alpha.kubernetes.io/aws-target-hosted-zone` can optionally be set to the ID of a Route53 hosted zone. This will force external-dns to use the specified hosted zone when creating an ALIAS target.
563
+
560
564
## Verify ExternalDNS works (Service example)
561
565
562
566
Create the following sample application to test that ExternalDNS works.
@@ -833,6 +837,14 @@ You can configure Route53 to associate DNS records with healthchecks for automat
833
837
834
838
Note: ExternalDNS does not support creating healthchecks, and assumes that `<health-check-id>` already exists.
835
839
840
+
## Canonical Hosted Zones
841
+
842
+
When creating ALIAS type records in Route53 it is required that external-dns be aware of the canonical hosted zone in which
843
+
the specified hostname is created. External-dns is able to automatically identify the canonical hosted zone for many
844
+
hostnames based upon known hostname suffixes which are defined in [aws.go](../../provider/aws/aws.go). If a hostname
845
+
does not have a known suffix then the suffix can be added into `aws.go` or the [target-hosted-zone annotation](#target-hosted-zone)
846
+
can be used to manually define the ID of the canonical hosted zone.
847
+
836
848
## Govcloud caveats
837
849
838
850
Due to the special nature with how Route53 runs in Govcloud, there are a few tweaks in the deployment settings.
0 commit comments