I have ES-Beats-Kibana setup running in Kubernetes. In Kibana under Infrastructure App on Host Tab I can see all metrics (CPU, Memory, Load, In/Out Traffic & Log Rate) for all Kubernetes nodes.
But On Kubernetes Tab, I see list of all containers running in the cluster, but don't see any metric (CPU, Memory, In/Out Traffic). All these metrics are showing 0%
I do have metricbeat & filebeat running as Daemonset in the cluster. Don't know if it doesn't collect these pod metrics or Kibana doesn't show it.
If I use prometheus + grafana, i can see pods metrics.
So, the problem seem be due to metricbeats ...
The serviceAccount can't list some ressources:
Failed to list *v1beta1.ReplicaSet: replicasets.apps is forbidden: User "system:serviceaccount:kube-system:metricbeat" cannot list resource "replicasets" in API group "apps" at the cluster scope
I updated the metricbeatClusterRole as per your suggestion and re-deployed metricbeat. Still I don't see any metric under Kubernetes tab in Infrastructure App.
Yes Prometheus with Grafana works perfectly which has node-exporter.
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.