Kubernetes state_container issues

Currently running 6.2.2 across the board.
I'm looking to gather metrics for kubernetes.container.memory.request.bytes and kubernetes.container.cpu.request.nanocores from state_container but it doesn't list all pods there. It only has them for the default namespace and if the the pods have more than one replica it skips them entirely.

Hi @Richard_Neely,

We recently merged a fix for this issue: https://github.com/elastic/beats/pull/6294, it's scheduled to be released with 6.3.0.

Best regards

What about request metrics for all pods in the default namespace? This isn't accurate in state_containers and it's not available for state_pod.

Hi @Richard_Neely,

Would it be possible for you to dump http://kube-state-metrics:8080/metrics for debugging? Please have a look to the content before posting, just in case you want to remove any sensitive data.

Best regards

That's a lot of data to scrub. I'm interested in these metrics which show from kube-state-metrics.

kube_pod_container_resource_requests_cpu_cores
kube_pod_container_resource_requests_memory_bytes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.