charts icon indicating copy to clipboard operation
charts copied to clipboard

[stable/weave-scope] Wrong kubelet port

Open bm1216 opened this issue 7 years ago • 2 comments

Describe the bug Weave tries to get pod information from the wrong kubelet port 10255. This port is unauthenticated and deprecated. It can't connect to it and throws out warnings which are continuously logging. An example log:

<probe> WARN: 2019/07/30 13:09:33.176468 No node name and cannot obtain local pods, reporting all (which may impact performance): Get http://127.0.0.1:10255/pods/: dial tcp 127.0.0.1:10255: connect: connection refused 

Version of Helm and Kubernetes: Helm 2.12.3 Kubernetes 1.14

Which chart: charts/stable/weave-scope

What happened: Weave uses the wrong kubelet port 10255 which is deprecated. This registers as a warning which fills up gigabytes of logs every day.

How to reproduce it (as minimally and precisely as possible): Deploy the weave chart

Anything else we need to know: In my opinion, to fix this issue we should make the log level for weave configurable. Another way of fixing this would be to make the kubelet port configurable. It is configurable in the source code as --probe.kubernetes.kubelet-port

bm1216 avatar Jul 30 '19 13:07 bm1216

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Aug 29 '19 14:08 stale[bot]

This issue is being automatically closed due to inactivity.

stale[bot] avatar Sep 12 '19 14:09 stale[bot]