Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.03 KB

step_5_install_external_dns.md

File metadata and controls

36 lines (24 loc) · 1.03 KB

Install external dns:

Now we are going to add external-dns, this will enable us to create new dns endpoint from within the cluster.

ExternalDNS synchronizes exposed Kubernetes Services and Ingresses with DNS providers.

Before we start we need to export some env vars:

export DOMAIN=YOUR_DOMAIN
export DOMAIN_NAMESPACE=YOU_DOMAIN_NAMESPACE
example: start.fake-domain.com -> DOMAIN=start.fake-domain.com, DOMAIN_NAMESPACE=fake-domain.com

Now we can install external-dns on our clutster.

helm install infra --name infra --set externalDns.enabled=true --set domainNamespace=${DOMAIN_NAMESPACE} --dep-up

Or simply

make install-external-dns

Great - now when we add an ingress with hosts in out cluster - external dns will pick it up and create a domain for us.

Step 6 - Install nginx controller and ingress