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

[Fleet] Support version overriding for bundled APM package #136834

Closed
kpollich opened this issue Jul 21, 2022 · 4 comments
Closed

[Fleet] Support version overriding for bundled APM package #136834

kpollich opened this issue Jul 21, 2022 · 4 comments
Labels
Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@kpollich
Copy link
Member

Ref elastic/apm-server#8491

The APM team would like to continuously publish updates to the APM package in the new Package Storage v2 architecture. To support this, Fleet's bundled package process should be able to handle the following:

  • Fetch the latest compatible version of the apm package, which may be a prerelease (e.g. provide ?experimental=true in the EPR request)
  • Unpack the apm package, update its manifest.yml -> version field to be the same as the current Kibana version, and re-pack it as a zip on disk
  • Ensure package verification doesn't re-fire for the APM package bundled on disk, as it will potentially fail when the version is changed
@kpollich kpollich added Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team labels Jul 21, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Feature:EPM)

@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@jen-huang
Copy link
Contributor

@kpollich Is it the end user who wishes to upgrade their APM package that is manually executing a bundling process, or are you suggesting for Kibana to execute it at run time?

@kpollich
Copy link
Member Author

@jen-huang - I think we're looking to do this at build-time when Kibana fetches bundled packages. So the workflow would be

  1. Kibana build starts
  2. "Bundle fleet packages" task is kicked off
  3. APM package is designated with some flag in fleet_packages.json, e.g. force_stack_aligned_version: true
  4. When bundled packages task fetches APM package, it performs the unpack -> version update -> repack workflow detailed above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

3 participants