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

Allow more targeted runs of eck-diagnostics for large environments #81

Open
pebrc opened this issue Jan 31, 2022 · 0 comments
Open

Allow more targeted runs of eck-diagnostics for large environments #81

pebrc opened this issue Jan 31, 2022 · 0 comments

Comments

@pebrc
Copy link
Collaborator

pebrc commented Jan 31, 2022

We should consider allowing users to target the diagnostic run to individual resources rather than whole namespaces as the size of the diagnostic archive can get very bit in larger deployments of ECK

pebrc added a commit that referenced this issue May 25, 2022
Adds an option to run the elastic-agent diagnostics subcommand. This is disabled by default as it will include credentials in the archive, which is a limitation of the diagnostics command.

The main use case I have in mind, other than user installations, is the ECK operator e2e test jobs where I found it helpful to have the diagnostics around for analysing Elastic Agent related test failures. But it is quite tedious to extract the diagnostics manually in a containerised environment. With this functionality in place the diagnostics archives we have in CI will already contain Agent diagnostics.

For use in large scale Elastic Agent deployments we will probably have to make additional adjustments. The current implementation is synchronous handling one Agent after another which is going to take a long time when users have 100s or 1000s of Agents deployed.

Given that we have similar limitations with the support diagnostics we extract from Elasticsearch and Kibana I thought it might be an acceptable tradeoff for now. And we have #81 to address usage in large scale environments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant