Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Standalone manifest] use hostPath to store elastic-agent state #4611

Closed
tetianakravchenko opened this issue Apr 23, 2024 · 1 comment
Closed
Assignees
Labels
bug Something isn't working Team:Cloudnative-Monitoring Label for the Cloud Native Monitoring team

Comments

@tetianakravchenko
Copy link
Contributor

In #2550 was introduced hostPath to store elastic-agent state for both standalone and managed elastic-agent manifests, main reason for that change was to aling behaviour with the ECK and comply with the documentation: agent.ephemeral_id normally changes across restarts, but agent.id does not.

But for the standalone manifest STATE_PATH variable is defined - https://github.com/elastic/elastic-agent/blob/main/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset.yaml#L64C21-L65, so the hostPath is actually not used.

STATE_PATH was introduces to support hints - #1202 (some discussion about this: #663)

We should: make use of the hostPath to store the agent state, at the same make sure that hints functionality is working.

Related issue: #953

@tetianakravchenko tetianakravchenko added the bug Something isn't working label Apr 23, 2024
@tetianakravchenko tetianakravchenko changed the title [Standalone manifest] [Standalone manifest] hostPath to store elastic-agent state Apr 23, 2024
@tetianakravchenko tetianakravchenko added the Team:Cloudnative-Monitoring Label for the Cloud Native Monitoring team label Apr 23, 2024
@tetianakravchenko tetianakravchenko changed the title [Standalone manifest] hostPath to store elastic-agent state [Standalone manifest] use hostPath to store elastic-agent state Apr 23, 2024
@tetianakravchenko
Copy link
Contributor Author

tetianakravchenko commented Apr 26, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Team:Cloudnative-Monitoring Label for the Cloud Native Monitoring team
Projects
None yet
Development

No branches or pull requests

1 participant