Skip to content

Autoscaling use adjusted total memory#80528

Merged
henningandersen merged 1 commit intoelastic:masterfrom
henningandersen:fix_autoscaling_current_capacity_adjusted_total
Nov 9, 2021
Merged

Autoscaling use adjusted total memory#80528
henningandersen merged 1 commit intoelastic:masterfrom
henningandersen:fix_autoscaling_current_capacity_adjusted_total

Conversation

@henningandersen
Copy link
Copy Markdown
Contributor

The current capacity in use in autoscaling would use the full container
memory and not the adjusted total memory. ES sometimes responds with
current_capacity as required_capacity and the current_capacity
therefore need to use the adjusted capacity instead (since the
orchestration should add the memory reservation on top).

Relates #78750

The current capacity in use in autoscaling would use the full container
memory and not the adjusted total memory. ES sometimes responds with
`current_capacity` as `required_capacity` and the `current_capacity`
therefore need to use the adjusted capacity instead (since the
orchestration should add the memory reservation on top).

Relates elastic#78750
@henningandersen henningandersen added >bug :Distributed/Autoscaling Automatically adding or removing nodes in a cluster v8.1.0 labels Nov 9, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Nov 9, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Copy link
Copy Markdown

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

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

LGTM

@henningandersen
Copy link
Copy Markdown
Contributor Author

ci/part-2 build failure in #80305

@elasticmachine run elasticsearch-ci/part-2

@henningandersen
Copy link
Copy Markdown
Contributor Author

@elasticmachine run elasticsearch-ci/part-1
@elasticmachine run elasticsearch-ci/packaging-tests-windows-sample

@henningandersen henningandersen merged commit f381cde into elastic:master Nov 9, 2021
henningandersen added a commit that referenced this pull request Nov 9, 2021
The current capacity in use in autoscaling would use the full container
memory and not the adjusted total memory. ES sometimes responds with
`current_capacity` as `required_capacity` and the `current_capacity`
therefore need to use the adjusted capacity instead (since the
orchestration should add the memory reservation on top).

Relates #78750
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Distributed/Autoscaling Automatically adding or removing nodes in a cluster Team:Distributed Meta label for distributed team. v8.0.0-rc2 v8.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants