Requirements
We expect Elastic Agent inside of Kubernetes in standalone mode (no connection to fleet-server, not using fleet-server to update agent config) to collect
- metrics and logs for kubernetes components - master node and the processes it runs, worker node and the processes it runs
- system metrics and logs of master and worker nodes
- pod metrics and logs to ES via auto-discovery through dynamic inputs and hints based discovery i.e. nginx running on K8s pods can send their metrics and logs to ES auto-magically as long as the agent policy contains appropriate conditional logic
In addition we will provide
- K8s integration that operator needs to install to observe K8s master and worker nodes and the infrastructure running K8s cluster, when installed it will display the K8s dashboards we provide today with metricbeat
- Documentation guide that walks through steps required to enable K8s and pod level observability with elastic agent in standalone mode
Note:
This issue explicitly ignores Fleet Mode, once standalone mode is working and documented then Fleet Mode will be the next target.
Core Issues
Logs & Metrics
Need to be investigated
Requirements
We expect Elastic Agent inside of Kubernetes in standalone mode (no connection to fleet-server, not using fleet-server to update agent config) to collect
In addition we will provide
Note:
This issue explicitly ignores Fleet Mode, once standalone mode is working and documented then Fleet Mode will be the next target.
Core Issues
filebeatregistry./usr/share/data/elastic-agent-{{ commit_short }}/run. Because of the{{commit_short}}being changed on every build this causes an issue with using a host mount point. [Elastic Agent] Allow separation of runtime state location and installation and executable location. #24160--system.hostfs equivalentto Elastic Agent Add Metricbeat --system.hostfs equivalent to Elastic Agent #22915 PR: Add system.hostfs configuration option for system module #23831Logs & Metrics
/var/log/syslog',/var/log/secure`, etc. should be collected by Elastic Agent. PR: Add system level logs for Agent on k8s #24185/procand/sys.kubelet.kube-state-metrics.Need to be investigated