Using the latest elastic helm chart 7.5.2 on EKS kubernetes, I get these errors from metricbeat trying to fetch from kubernetes.volume
2020-01-31T15:32:52.119Z INFO module/wrapper.go:252 Error fetching data for metricset kubernetes.volume: error doing HTTP request to fetch 'volume' Metricset data: error making http request: Get http://ip-192-168-80-40.eu-west-1.compute.internal:10255/stats/summary: dial tcp 192.168.80.40:10255: connect: connection refused
2020-01-31T15:32:53.595Z INFO module/wrapper.go:252 Error fetching data for metricset kubernetes.pod: error doing HTTP request to fetch 'pod' Metricset data: error making http request: Get http://ip-192-168-80-40.eu-west-1.compute.internal:10255/stats/summary: dial tcp 192.168.80.40:10255: connect: connection refused
2020-01-31T15:32:57.509Z INFO module/wrapper.go:252 Error fetching data for metricset kubernetes.container: error doing HTTP request to fetch 'container' Metricset data: error making http request: Get http://ip-192-168-80-40.eu-west-1.compute.internal:10255/stats/summary: dial tcp 192.168.80.40:10255: connect: connection refused
2020-01-31T15:32:57.805Z INFO module/wrapper.go:252 Error fetching data for metricset kubernetes.system: error doing HTTP request to fetch 'system' Metricset data: error making http request: Get http://ip-192-168-80-40.eu-west-1.compute.internal:10255/stats/summary: dial tcp 192.168.80.40:10255: connect: connection refused
You are trying to use the kubelet non authenticated port, which most kubernetes installations disable.
Can you try secure port 10250, adding certificates as needed?
You can also log into the node and curl manually to make sure the kubelet endpoints are reachable.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.