Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upcoredns can not start with “Failed to list *v1.Endpoints: and “Failed to list *v1.Service” #85794
Comments
This comment has been minimized.
This comment has been minimized.
@vincent081: There are no sig labels on this issue. Please add a sig label by either:
Note: Method 1 will trigger an email to the group. See the group list. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This comment has been minimized.
This comment has been minimized.
what manifest did you use to deploy coredns? the default addon includes RBAC role/binding permissions (xref https://github.com/kubernetes/kubernetes/blob/release-1.16/cluster/addons/dns/coredns/coredns.yaml.in#L12-L53) |
This comment has been minimized.
This comment has been minimized.
The errors in the log shown in the description are timeouts, not auth failures... So may be more than one issue at hand. |
This comment has been minimized.
This comment has been minimized.
Could you check if |
This comment has been minimized.
This comment has been minimized.
my coredns.yaml
|
This comment has been minimized.
This comment has been minimized.
kube-proxy is running ,cluster 3.0 tks! |
I have a problem when I install the kube-dns add on. My OS is CentOS Linux release 7.4
When I start the coredns thecoredns container log:
ace[768378026]: [30.002243414s] [30.002243414s] END
E1202 09:08:34.949036 1 reflector.go:126] pkg/mod/k8s.io/client-go@v11.0.0+incompatible/tools/cache/reflector.go:94: Failed to list *v1.Namespace: Get https://10.9.0.1:443/api/v1/namespaces?limit=500&resourceVersion=0: dial tcp 10.9.0.1:443: i/o timeout
E1202 09:08:34.949036 1 reflector.go:126] pkg/mod/k8s.io/client-go@v11.0.0+incompatible/tools/cache/reflector.go:94: Failed to list *v1.Namespace: Get https://10.9.0.1:443/api/v1/namespaces?limit=500&resourceVersion=0: dial tcp 10.9.0.1:443: i/o timeout
E1202 09:08:34.949036 1 reflector.go:126] pkg/mod/k8s.io/client-go@v11.0.0+incompatible/tools/cache/reflector.go:94: Failed to list *v1.Namespace: Get https://10.9.0.1:443/api/v1/namespaces?limit=500&resourceVersion=0: dial tcp 10.9.0.1:443: i/o timeout
E1202 09:08:34.949013 1 reflector.go:126] pkg/mod/k8s.io/client-go@v11.0.0+incompatible/tools/cache/reflector.go:94: Failed to list *v1.Service: Get https://10.9.0.1:443/api/v1/services?limit=500&resourceVersion=0: dial tcp 10.9.0.1:443: i/o timeout
E1202 09:08:34.949036 1 reflector.go:126] pkg/mod/k8s.io/client-go@v11.0.0+incompatible/tools/cache/reflector.go:94: Failed to list *v1.Namespace: Get https://10.9.0.1:443/api/v1/namespaces?limit=500&resourceVersion=0: dial tcp 10.9.0.1:443: i/o timeout
E1202 09:08:34.950370 1 reflector.go:126] pkg/mod/k8s.io/client-go@v11.0.0+incompatible/tools/cache/reflector.go:94: Failed to list *v1.Endpoints: Get https://10.9.0.1:443/api/v1/endpoints?limit=500&resourceVersion=0: dial tcp 10.9.0.1:443: i/o timeout
I1202 09:08:34.950302 1 trace.go:82] Trace[1212724865]: "Reflector pkg/mod/k8s.io/client-go@v11.0.0+incompatible/tools/cache/reflector.go:94 ListAndWatch" (started: 2019-12-02 09:08:04.949585685 +0000 UTC m=+31.020839521) (total time: 30.000703085s):
Trace[1212724865]: [30.000703085s] [30.000703085s] END