I enabled the Kubernetes module (https://www.elastic.co/guide/en/beats/metricbeat/current/running-on-kubernetes.html) and everything works fine. But the
kubernetes.pod.memory.usage.limit.pct field is falling back to total node allocatable memory even if there is a resource limit. Actually, all of my containers in pods have resource limits and all of the percentage numbers is based on the node maximum instead of the limit.
The percentage number and the visualization in Infra panel are becoming meaningless due to this problem. (In fact, I have been misled by the wrong percentage number for quite a long time. The docker module worked well though ) How to resolve this problem?