Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Allow the Elastic Agent to run the shipper #13

Open
2 tasks
Tracked by #15
cmacknz opened this issue Mar 18, 2022 · 4 comments
Open
2 tasks
Tracked by #15

Allow the Elastic Agent to run the shipper #13

cmacknz opened this issue Mar 18, 2022 · 4 comments
Assignees
Labels
estimation:Week Task that represents a week of work. Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team v8.4.0

Comments

@cmacknz
Copy link
Member

cmacknz commented Mar 18, 2022

The data shipper must be runnable by the Elastic agent. This issue captures the shipper side work for elastic/elastic-agent#214.

The shipper executable must implement the Elastic agent V2 control protocol, defined here: https://github.com/elastic/elastic-agent-client. Note that the control protocol is being updated as part of the Agent V2 architecture in elastic/elastic-agent-client#29. The control protocol features to be implemented must be coordinated with the control plane team.

While we should use the V2 protocol in the final version of the shipper, initial prototyping can be done using the V1 implementation to unblock progress while the control plane team finalizes the V2 protocol:

This issue is considered complete when:

  • A test proves that the Elastic agent can successfully start and monitor the data shipper, including logs, metrics, and runtime health.
  • A test proves that the Elastic agent can upgrade the data shipper.
  • A test proves that the Elastic agent can detect when the shipper is unhealthy or stopped.
@cmacknz
Copy link
Member Author

cmacknz commented Apr 25, 2022

Assigning this to @fearful-symmetry as it aligns with the metrics/diagnostic reporting work.

@cmacknz cmacknz added the v8.4.0 label Apr 28, 2022
@jlind23 jlind23 added estimation:Week Task that represents a week of work. and removed 8.4-candidate labels May 24, 2022
@fearful-symmetry
Copy link
Contributor

Okay, brief update:
I don't know if it's tracked on github, but there's a new spec for how agent will bundle + build it's related components, which will probably impact a lot of how this feature will be tested+developed.

The agent-side V2 PR is here: elastic/elastic-agent#502

@cmacknz
Copy link
Member Author

cmacknz commented Jun 6, 2022

Looks like the V2 spec PR is merged so you should be unblocked.

@fearful-symmetry
Copy link
Contributor

Current state: Have this PR open to make the shipper a tad easier to test: elastic/elastic-agent-client#33

Currently, I have the basic skeleton of a controller client set up and working. Still trying to understand the control flow/startup process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
estimation:Week Task that represents a week of work. Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team v8.4.0
Projects
None yet
Development

No branches or pull requests

3 participants