-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAQ:DNS for feature environments (#449)
* add FAQ:DNS for feature environments * update dns feature environments FAQ * Update dns-feature-environments.md Co-authored-by: Erik Osterman <[email protected]>
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
title: "How is DNS managed for short-lived environments?" | ||
description: "The `external-dns` controller automatically setups DNS records for these environments." | ||
tags: | ||
- DNS | ||
- feature environments | ||
- unlimited-staging | ||
- external-dns | ||
- route53 | ||
- AWS | ||
- ingress | ||
- service | ||
--- | ||
|
||
## Question | ||
|
||
How will DNS be managed for short-lived environments (e.g. for feature branches and Pull Requests)? | ||
|
||
## Answer | ||
|
||
The `external-dns` controller manages the DNS for PRs. All we need to do is add an annotation to the `Ingress` or `Service` with the desired hostname and then the controller takes care of the rest. It supports AWS, GKE, Cloudflare, Digital Ocean, and Azure environments. | ||
|
||
Alternatlive, wildcard DNS records pointed at the Ingress Load Balancer. This may be used in place of `external-dns`, but that is less flexible because it only supports a flat hostname structure for a single domain. |