We already support Elastic-Agent on k8s in standalone mode. We should be able to provide proposed manifests so as to start agent as Daemonset pods and automatically enrol them to fleet server (ie https://github.com/elastic/elastic-package/blob/f092978b96cc25d55144236d46b2d201079316a7/internal/install/static_kubernetes_elastic_agent_yml.go#L39). Then through kibana we can enable the k8s integration accordingly.
And if we tune k8s package so as to enable conditions we can do sth similar with https://github.com/elastic/integrations/blob/88b02e1ec40e122fa0de28f4b777cb51b3aba[…]s/linux/data_stream/network_summary/agent/stream/stream.yml.hbs so as we can use leaderelection for state_* metrics from kibana UI as we do with standalone mode.
I'm not sure about the priority of this right now but let's have a specific issue for reference.
cc: @mukeshelastic @exekias @blakerouse
We already support Elastic-Agent on k8s in standalone mode. We should be able to provide proposed manifests so as to start agent as Daemonset pods and automatically enrol them to fleet server (ie https://github.com/elastic/elastic-package/blob/f092978b96cc25d55144236d46b2d201079316a7/internal/install/static_kubernetes_elastic_agent_yml.go#L39). Then through kibana we can enable the k8s integration accordingly.
And if we tune k8s package so as to enable conditions we can do sth similar with https://github.com/elastic/integrations/blob/88b02e1ec40e122fa0de28f4b777cb51b3aba[…]s/linux/data_stream/network_summary/agent/stream/stream.yml.hbs so as we can use
leaderelectionforstate_*metrics from kibana UI as we do with standalone mode.I'm not sure about the priority of this right now but let's have a specific issue for reference.
cc: @mukeshelastic @exekias @blakerouse