Rke: Add stubdomains to CoreDNS provider

Created on 13 Sep 2020  路  6Comments  路  Source: rancher/rke

Just like kubedns, can we have support for stubdomains in the CoreDNS provider? At the moment, there's no way to manage them unless manually editing the coredns configmap.

I am also looking to automate this using the terraform rancher2 provider (https://github.com/rancher/terraform-provider-rancher2/issues/454).

kinenhancement

Most helpful comment

We need this functionality to automate our Rancher workflow end to end.

All 6 comments

We need this functionality to automate our Rancher workflow end to end.

Any chance this could be evaluated? I can see rke has stub-domains support for kube-dns but not for coredns. The issue is that we currently have to edit the configmap and we cannot quite manage that via terraform unless we adopt the resource (import). It'd be nice to be able to drive the coredns configuration directly from rke.

We also have a reoccurring issue due to the fact that the stubdomains are not managed by the rke workflow. Whenever we perform an upgrade to the cluster, e.g. kubernetes version, the coredns configmap gets wiped out. This obviously leads to a production issue..

@superseb - do you think this is something that RKE can support soon?

I'd also like the knobs in the coredns configmap exposed and configurable from the rancher2 terraform provider.

I would also like to be able to update the configmap for coreDNS. I have a need to update the cache plugin config, and would also like to use autopath.

Was this page helpful?
0 / 5 - 0 ratings