mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 19:13:14 -04:00
## Summary Summarize your PR. If it involves visual changes include a screenshot or gif. This PR add background task to upgrade Agentless Deployments after Kibana Stack has been upgrade in ESS. Once the Kibana stack upgrades, the task will do following: 1. Fetch agentless policies with package policies that have agents 2. Check if agentless agents version is upgradeable by use `semverLT` which see if current agent version less than latest available upgrade version and current kibana version 3. If agent version is upgradedable, then task will calls Agentless Upgrade Endpoint to upgrade agentless deployment. 4. Agent should be upgraded to latest available upgraded version  **How to test PR:** Prerequisite: Install [QAF Tool](https://docs.elastic.dev/appex-qa/qaf/getting-started) Create EC cloud api key [QAF Elastic Cloud](https://docs.elastic.dev/appex-qa/qaf/features/ec-deployments) 1. Go to Elastic Cloud and Create ESS Deployment in `8.17.0-SNAPSHOT` ```qaf elastic-cloud deployments create --environment production --region gcp-us-west2 --stack-version 8.17.0-SNAPSHOT --version-validation --deployment-name <DEPLOYMENT_NAME> ``` 2. Create an Agentless Integration 3. Upgrade stack to `8.18.0-SNAPSHOT` > `8.19.0-SNAPSHOT` 4. Run the following QAF command ```qaf elastic-cloud deployments upgrade <DEPLOYMENT_NAME> 9.1.0-SNAPSHOT --kb-docker-image docker.elastic.co/kibana-ci/kibana-cloud:9.1.0-SNAPSHOT-5e00106755e7084d1325e784eb27f91db9724c89``` --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
plugins | ||
test_suites | ||
config.ts | ||
ftr_provider_context.d.ts | ||
services.ts |