Skip to content

The DNS for services is not working after the fresh installation #74

Open
@yxiao168

Description

@yxiao168

After the set up of the cluster for the 1st time, the DNS for services usually doesn't work. Only after the deletion of the coredns-* pods as below (to force coredns to restart) , the DNS for services starts to work.

$ k -n kube-system delete pod coredns-6f6b679f8f-4mvnz
pod "coredns-6f6b679f8f-4mvnz" deleted
$ k -n kube-system delete pod coredns-6f6b679f8f-ggqcs
pod "coredns-6f6b679f8f-ggqcs" deleted

This bug exists with all Kubernetes versions. It seems that the setup script should be twisted to cop with this situation.

I used "nslookup", "curl", "nc" from the image "curlimages/curl" in my tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions