k8s-local-dns icon indicating copy to clipboard operation
k8s-local-dns copied to clipboard

Detect coredns or kubedns service, populate in service definition yaml

Open JamesTGrant opened this issue 3 years ago • 1 comments

modified file name to reove kube-dns service name assumption (could be coredns or kube-dns). Added check in install.sh to look through kube-system service list and match coredns or kube-dns. Set the result as a variable and use that variable in the uncached service definition service

JamesTGrant avatar Jun 03 '21 13:06 JamesTGrant

Hi @JamesTGrant,

Thank you for the contribution, could you share about how did you install CoreDNS? According to official CoreDNS addon, the service name should consistent using kube-dns. We want to know the use case for a better decision making. https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/dns/coredns/coredns.yaml.sed#L192

Kind Regards,

axot avatar Jun 04 '21 01:06 axot