x-dns

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

Syntax

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.

PublicNamespace:
  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

When using CloudMap for public namespace, you CAN NOT use AWS-ACM DNS validation method!

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

Example

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