Kubernetes: Pods Can't Resolve Hostnames

前端 未结 4 1295
忘掉有多难
忘掉有多难 2021-02-05 21:40

I am encountering an issue with Kubernetes where my pods cannot resolve hostnames (such as google.com or kubernetes.default).

I currently have

4条回答
  •  没有蜡笔的小新
    2021-02-05 22:18

    Encountered the same issue. I followed this doc dns-debugging-resolution and checked DNS related pods, services, endpoints, all was running without error messages. Finally, I found my calico service was dead. After I started calico service and waited several minutes, It worked.

提交回复
热议问题