x-dns

Allows you to indicate what the DNS settings shall be for the deployment of your containers.

Syntax

Private Namespace definition (Uses AWS CloudMap)
PrivateNamespace:
  Name: str # TLD to use for the deployment.
  Lookup: str # Domain name to find in CloudMap
  Use: str # Expects the CloudMap ns- namespace ID

Warning

This domain will be associated with the VPC Route53 “database”. If another Namespace using the same domain name already is associated with the VPC, this will fail.

Public DNS Zone using Route53.
PublicZone:
  Name: str # TLD to use for the deployment.
  Lookup: str # Domain name to find in CloudMap
  Use: str # Expects the CloudMap Z[A-Z0-9]+- Hosted Zone Id

Attention

For ACM DNS Validation and other validations to work, the zone must be able to be resolved.

Examples

Private definition only
x-dns:
  PrivateNamespace:
    Name: mycluster.lan
Public Zone and private zone
x-dns:
  PrivateNamespace:
    Name: mycluster.lan
    Use: ns-abcd012344
  PublicZone:
    Name: public-domain.net
    Use: Z0123456ABCD