Hi,
I’m running Metricbeat in Kubernetes from the yamls here:
However I am having an issue where I get these kind of errors on all nodes except one, which work fine, but I get no kubernetes stats on these three nodes that are showing this error messages:
2021-05-31T13:42:22.212Z INFO module/wrapper.go:259 Error fetching data for metricset kubernetes.system: error doing HTTP request to fetch 'system' Metricset data: error making http request: Get "https://k8s-2:10250/stats/summary": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2021-05-31T13:42:22.411Z INFO module/wrapper.go:259 Error fetching data for metricset kubernetes.container: error doing HTTP request to fetch 'container' Metricset data: error making http request: Get "https://k8s-2:10250/stats/summary": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2021-05-31T13:42:22.411Z INFO module/wrapper.go:259 Error fetching data for metricset kubernetes.node: error doing HTTP request to fetch 'node' Metricset data: error making http request: Get "https://k8s-2:10250/stats/summary": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2021-05-31T13:42:22.421Z INFO module/wrapper.go:259 Error fetching data for metricset kubernetes.pod: error doing HTTP request to fetch 'pod' Metricset data: error making http request: Get "https://k8s-2:10250/stats/summary": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Anyone has any idea why?