ExternalDNS

Overview

The source code and default configuration of the Building Block is available in our code.sysEleven.de. For information on release notes and new features please follow the link: Release notes external-dns.

External-DNS

To expose your Kubernetes services discoverable, you can deploy the External-DNS Builing block which is an add-on to Kubernetes.
See the Github issue for more information if you like to use your own DNS solution or an established deployment (as one of the Provider mentioned in the github.com link) there is no restrictions to do so. Please refer to the appropriate documentation from your provider.

Prerequisites on External-DNS

You need to provide a storage provider for this Building Block. Proceed with the following prerequisite description to use the Velero Building Block out of the box.

A recommended resource overview is listed in the table below.

CPU / vCPU Memory
0.1 128MiB

No further activities need to be carried out in advance.

Adding the Building Block

Add the directory syseleven-external-dns to your control repository. Add a .gitlab-ci.yml to the directory with the following content:

include:
  - project: syseleven/building-blocks/helmfiles/external-dns
    file: JobDevelopment.yaml
    ref: 7.4.0
  - project: syseleven/building-blocks/helmfiles/external-dns
    file: JobStaging.yaml
    ref: 7.4.0
  - project: syseleven/building-blocks/helmfiles/external-dns
    file: JobProduction.yaml
    ref: 7.4.0

Remove environments you are not using by removing their include.

Known Issues

  • When using designate as DNS provider, e.g. with SysEleven DNSaaS, cert-manager will not correctly sync records when there is a external-dns.alpha.kubernetes.io/ttl annotation. The record will get created in one run and be deleted in the next run.

Required configuration

No confguration is required.

Monitoring

Additional alertrules

  • None

Additional Grafana dashboards

  • None

Scaling Setup

No scaling needed :

  • Usually it is not needed to scale replicas unless you have an excessive amount of ingress/service creation requests
  • Requests/limits for CPU/memory can be adjusted

Release-Notes

Please find more information on release notes and new features Release notes External-DNS