I set up Fleet and a bunch of agents running on a Kubernetes (K8S) cluster with the Kubernetes' integration.
So far the log and metrics integration kind of work ( we see them on the DSs, the dashboards and the discovery view).
My problem is when i try to see the inventory graph ( at the observability section) because instead of seeing all my Kubernetes host i see all the elastic-agents and i'm unable to see the overall usage of the K8S nodes (like full node CPU and Memory usage).
Do we have any option in order for the agents to show the name of the node where they are running ?
In case we don't, what should we configurate in order to consolidate the metrics of the nodes when the pod are deleted and change they name in order to see a continuous metric historic for the K8S node no mater the agent's name ?
My problem is when i try to see the inventory graph ( at the observability section) because instead of seeing all my Kubernetes host i see all the elastic-agents and i'm unable to see the overall usage of the K8S nodes (like full node CPU and Memory usage).
Correctly I understand that in Observability > Infrastructure > Inventory you have selected Show by Hosts, but you are getting not the host names on the graph, but the elastic-agents pod names? or you see all pods (not only elastic-agents one)?
When i go to Observability > Infrastructure > Inventory i see:
a big box with the label "ALL"
inside the box all the agents including ( fleet-server, APM agents, agents deployed with integration for kubernetes).
the only ones showing data are the fleet-server and the APM.
i don't see any other pods.
We use a self managed K8S cluster.
The fleet-server and the APM agents are in the same K8S cluster as the elastic + kibana deploy.
The elastic-agents are on another k8s cluster.
All the K8S cluster are provided by the same Cloud provider ( Oracle ).
Here are some screenshoot to better illustrate the points above.
Hi @Pablo_Halamaj
Thank you for sharing.
It is strange. In case selected Show: Hosts there should be provided a list of Kubernetes host, not the pods. Could you please check if host.name field is propagated in elasticsearch documents, and if it contains the correct values?
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.