Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot resolve external name services after upgrading kubernetes from 1.8.5 to 1.9.6 #4986

Closed
rajatjindal opened this issue Apr 13, 2018 · 4 comments

Comments

@rajatjindal
Copy link
Contributor

rajatjindal commented Apr 13, 2018

  1. What kops version are you running? The command kops version, will display
    this information.
    Version 1.9.0 (git-cccd71e67)

  2. What Kubernetes version are you running? kubectl version will print the
    version if a cluster is running or provide the Kubernetes version specified as
    a kops flag.

v1.9.6

  1. What cloud provider are you using?
    AWS

  2. What commands did you run? What is the simplest way to reproduce this issue?
    Upgrade kubernetes from version 1.8.5 to 1.9.6

  3. What happened after the commands executed?

I could not resolve external name services anymore

  1. What did you expect to happen?

Continue to be able to resolve external name services

  1. Please provide your cluster manifest. Execute
    kops get --name my.example.com -oyaml to display your cluster manifest.
    You may want to remove your cluster name and other sensitive information.

  2. Please run the commands with most verbose logging by adding the -v 10 flag.
    Paste the logs into this report, or in a gist and provide the gist link here.

  3. Anything else do we need to know?

@rajatjindal
Copy link
Contributor Author

Once i created the configmap https://gist.github.com/rajatjindal/42ef389787bc4fad1f9f506f6d0c51c0 for kube-dns, it started to work.

But I am guessing more people will run into this issue after upgrading their clusters. and I am not sure what the root cause is, therefore reported the issue

@rajatjindal rajatjindal changed the title cannot resolve external name services after upgrading from 1.8.5 to 1.9.6 cannot resolve external name services after upgrading kubernetes from 1.8.5 to 1.9.6 Apr 13, 2018
@lheinlen
Copy link

I ran into the same issue and followed the same steps to resolve it.

@jjo
Copy link
Contributor

jjo commented Apr 17, 2018

Ditto here (upgraded 1.8.9 -> 1.9.5 using kops-1.9.0), some externalName service was failing to resolve for internal aws DNS RR entries, after adding the kube-dns configMap pointing to our internal aws DNS service, it got fixed.

Seems that kube-dns pods are not inheriting resolvers from the hosting node(s).

@FrederikNJS
Copy link
Contributor

The issue seems to be due to kube-dns version 1.14.9, see kubernetes/dns#224 and #4851.

I just upgraded our kube-dns to 1.14.10 using the same method mentioned in #3512, which fixed our issues with externalName.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants