Pods unable to connect to API Server after enabling linkerd #4616
Unanswered
listenerme
asked this question in
General
Replies: 2 comments 7 replies
-
When are these messages printed? |
Beta Was this translation helpful? Give feedback.
5 replies
-
Above logs, that I got it from the output of Prometheus container But I had the same issue(connection refused), while filebeat is configured to collect kubernetes metadata by contacting api server inside the pod. Tried setting the " skip outbound port" parameter to 443 while meshing filebeat, that too didnt work. Prometheus 443 error is not often, but for filebeat , its permanent. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Report
What is the issue?
Pods like fluentd, filebeat when meshed, unable to connect to kubernetes api server to grab the metadata and it say connection refused on 10.0.0.1:443
How can it be reproduced?
Mesh filebeat daemonset with linkerd. Prometheus of the linkerd itself fail sometimes with similar error
Logs, error output, etc
level=error ts=2020-06-16T07:46:28.936Z caller=klog.go:94 component=k8s_client_runtime func=ErrorDepth msg="/app/discovery/kubernetes/kubernetes.go:333: Failed to list *v1.Node: Get https://10.0.0.1:443/api/v1/nodes?limit=500&resourceVersion=0: dial tcp 10.0.0.1:443: connect: connection refused"
level=error ts=2020-06-16T07:46:30.939Z caller=klog.go:94 component=k8s_client_runtime func=ErrorDepth msg="/app/discovery/kubernetes/kubernetes.go:281: Failed to list *v1.Pod: Get https://10.0.0.1:443/api/v1/pods?limit=500&resourceVersion=0: EOF"
(If the output is long, please create a gist and
paste the link here.)
linkerd check
outputEnvironment
Possible solution
Additional context
Beta Was this translation helpful? Give feedback.
All reactions