Hi,
Starting from k8s version 1.14, the kubelet /stats/summary endpoint doesn't return memory info per container but rather per pod only. Looks like metricbeat doesn't handle that and therefor the pre-generated dashboard for k8s (the one using mostly metric-state metrics called [Metricbeat Kubernetes] Overview ECS) shows nothing for memory.
Strange thing is, switching it to kubernetes.pod.memory.usage.bytes
doesnt work either because it uses the same endpoint and the same container fields even though the pod metrics returned from that endpoint would work perfectly.
So both the beat logic in data.go (under kubernetes/container) and the dashboard setup seem to be broken.
funny enough, on the documentation they claim that it's tested on v 1.14 but I did check and it doesn't work on any version above 1.13
https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-kubernetes.html
Anything I'm missing?
Thanks in advance,
Miklos