-
Notifications
You must be signed in to change notification settings - Fork 42
Add e2e testsuite for Cloud managed Elastic Agent setup #890
Comments
note we have relating tickets for general Fleet Server support which are being worked now. @simitt will you be the best POC to pair with to work through this? The Engg Productivity team typically can help start off a project and do training / first-few-scenarios to help test. @mdelapenya is our first POC typically. So, we'll have some building blocks already available, but we'll probably need a lot more specifics pulled out of feature tickets or re-posted as to the specific APIs we need to cover or which policies and what to query in the Kibana API or ES index to validate it is working as desired. |
I am available for help here too |
More details on the expected setup (describing how to configure via files rather than ENV): Providing config files with according information:
What should be covered:by providing following ENV
Testing that APM Server standalone (not managed as integration) gets set up.
Test that Kibana/Fleet gets set up, a policy is created and the Elastic Agent is successfully enrolled
When changing Test that when neither the Updated 2021/04/21 with description of current functionality @jalvz are you available to pick this up? |
Yes, I was waiting on #900, but maybe this can be worked on in parallel. |
Yeah that makes sense to first sort out any Fleet Server issues. Thanks! |
@jalvz I updated the description above according to current functionality. In alignment with https://github.com/elastic/cloud-assets/pull/589 we should also cover that a managed, non default policy is created during the setup to which the elastic-agent enrolls. This is already supported by Kibana, but hasn't been merged to the cloud code yet; there is one open beats issue elastic/beats#25133 we have to solve before this can also be tested. |
Update to #890 (comment): |
Once the cloud specific logic is added to the elastic-agent
container
command (elastic/beats#23697) new e2e tests for this "hybrid" docker image are necessary.What to test
apm-server.yml
file if present and Elastic Agent is started with Fleet ServerOtherwise: Elastic Agent is started with Fleet Server and APM ServerThe Elastic Agent takes care of the Kibana setup if necessary, the Fleet Server setup for the cloud managed policy and enrolling itself via Fleet Server.
The setup takes care via ENV variables and config files. Details to follow when the above linked issue is implemented.
The text was updated successfully, but these errors were encountered: