Support for External-DNS #315
Replies: 7 comments 3 replies
-
@codeagencybe I try to limit the number of external packages to a strict minimum, as the goal of this project is just to deploy an optimized cluster. The only exception was Longhorn (as it requires specific OS packages to work) and Rancher (which in turn requires cert-manager) as it allows for the installation of many other packages. The best way is to install this after the cluster is up, either by using Rancher itself, or the helm cli or by applying a HelmChart definition as explained here, and used as a template here (for inspiration on the format). If you use the latter option, you can also pass this via kustomization if you want to add a bunch of extra helm packages, all automated following the |
Beta Was this translation helpful? Give feedback.
-
Sure that is understandable. I was just looking for a way to easy link the base domain and rancher domain directly to my DNS provider. I already found some terraform module for my DNS provider, so I'm looking into this route. |
Beta Was this translation helpful? Give feedback.
-
@codeagencybe Awesome; if you can make this work in a configurable way, I would be happy to review a PR if that's a route you would like to take. Or share your extra module in the examples folder if you are willing to make it open source, along with a small mention in the Readme in the examples section, a PR for that would be great too!! 😎 |
Beta Was this translation helpful? Give feedback.
-
@codeagencybe Also moving this one to discussions, as that's where I prefer to have enhancement proposals that are not super urgent. |
Beta Was this translation helpful? Give feedback.
-
I'm right now in the process of setting up a similar setup, but using Hetzner's DNS Service. But at this point emerges for me the question, what the best way to install the additional helm charts is. As main components like the cert-manager are installed in the deployment by deploying the yaml files to the server, it would seem logical to do the same with the webhook provider. Is it of interest to provide a managed "all-in-one"-solution in the Hetzner infrastructure? |
Beta Was this translation helpful? Give feedback.
-
I'm also still puzzled about what the correct way is for dealing with DNS automation. I'm using ClouDNS myself (https://cloudns.net), not to advertise for them, but they have an integration ready made for Cert Manager so it can deal with DNS01 resolved and auto-create the TXT records for certification verification. I was hoping that external-dns would solve this problem also for general DNS stuff like A records, CNAME records, ... At this moment, I'm probably just gonna go with a custom script that I fire off at a certain "early" event during deployment so the required A/CNAME/.... records are created in ClouDNS via API. Ultimately, I just want a new application to be "ready" automatically after deploying from Rancher including the DNS stuff required without me having to fiddle with DNS settings manually each time. |
Beta Was this translation helpful? Give feedback.
-
Just to recap on your deployment strategy, you build the cluster via terraform and later deploy multiple applications via Rancher in the form of Helm charts or similar? If that's the case, a combination of |
Beta Was this translation helpful? Give feedback.
-
@mysticaltech
Do you happen to know if and how it could add support for external DNS from https://github.com/kubernetes-sigs/external-dns ?
This can help automating the DNS part for the custom domains set, and hence improve the SSL part from cert manager via DNS01 resolved (instead of HTTP01).
https://github.com/ixoncloud/cert-manager-webhook-cloudns
Beta Was this translation helpful? Give feedback.
All reactions