-1

I installed k8s with kubespray, which deployed coredns as the dns service. When trying to install Budibase through the Helm chart, I'm getting the following error:

[emerg] host not found in resolver "kube-dns.kube-system.svc.cluster.local" in /etc/nginx/nginx.conf:22

The nginx config file, which I suppose is auto-generated as I did not found it in the file tree, is looking for kube-dns instead of coredns.

Is there an easy way to alias "kube-dns.kube-system.svc.cluster.local" for "coredns.kube-system.svc.cluster.local" so it can resolve ?

Olivier Boudry
  • 801
  • 7
  • 17

1 Answers1

2

The solution was embarrassingly simple, create a kube-dns service with the same spec as the coredns one.

Olivier Boudry
  • 801
  • 7
  • 17