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] Fix maintenance options for rolling upgrades #133369

Merged

Conversation

nchaulet
Copy link
Member

@nchaulet nchaulet commented Jun 2, 2022

Summary

Resolve #133113

Fix available maintenance options for rolling upgrade:

  • Immediatly should be available even for more than 10 agents
  • Immediatly should be the default for <= 10 agents
  • 1 hour should be the default for > 10 agents

I added some unit test to validate the default value depending on the agent count.

@nchaulet nchaulet added bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team auto-backport Deprecated - use backport:version if exact versions are needed v8.3.0 v8.4.0 labels Jun 2, 2022
@nchaulet nchaulet marked this pull request as ready for review June 2, 2022 09:06
@nchaulet nchaulet requested a review from a team as a code owner June 2, 2022 09:06
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@nchaulet nchaulet requested a review from criamico June 2, 2022 09:09
@nchaulet nchaulet self-assigned this Jun 2, 2022
@nchaulet nchaulet force-pushed the fix-133113-maintenance-window-options branch from dbd9511 to c130aac Compare June 2, 2022 09:13
Copy link
Contributor

@juliaElastic juliaElastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the tests!

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #34 / analytics instrumented events from the browser General "click" "before each" hook for "should emit a "click" event"

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 749.0KB 749.0KB +24.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @nchaulet

@nchaulet nchaulet merged commit eaca3c7 into elastic:main Jun 2, 2022
@nchaulet nchaulet deleted the fix-133113-maintenance-window-options branch June 2, 2022 11:57
kibanamachine pushed a commit that referenced this pull request Jun 2, 2022
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.3

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.3.0 v8.4.0
Projects
None yet
5 participants