elastic / elastic-agent

Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.
Other
23 stars 145 forks source link

Add `hostPath` to standalone elastic agent on k8s manifest #736

Closed narph closed 6 months ago

narph commented 2 years ago

Elastic agent doesn't seem to have an option to store information it can use across pod/container restarts https://github.com/elastic/elastic-agent/blob/main/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml#L628, although it looks like other beats like Filebeat already have this. Goal would be persisting state.

cc @ChrsMark , @jsoriano

ChrsMark commented 2 years ago

cc: @elastic/obs-cloudnative-monitoring

gizas commented 2 years ago

@narph just for our information can you point us to the path that Agent is reading persistent information from?

jlind23 commented 6 months ago

Has been fixed by https://github.com/elastic/elastic-agent/pull/2550 hence closing.