Skip to content

The Discription of DisruptionBudge with non-percentage value is incorrect #6814

Open
@dan12315

Description

@dan12315

Description

How can the docs be improved?

https://github.com/aws/karpenter-provider-aws/blob/main/website/content/en/v1.0/concepts/disruption.md#nodes

If the budget is configured with a percentage value, such as 20%, Karpenter will calculate the number of allowed disruptions as allowed_disruptions = roundup(total * percentage) - total_deleting - total_notready. If otherwise defined as a non-percentage value, Karpenter will simply subtract the number of nodes from the total (total - non_percentage_value) - total_deleting - total_notready. For multiple budgets in a NodePool, Karpenter will take the minimum value (most restrictive) of each of the budgets.

From the example offered below, the , It should be "If otherwise defined as a non-percentage value, Karpenter will simply use this number as budget : non_percentage_value - total_deleting - total_notready"

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Activity

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

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationtriage/needs-investigationIssues that need to be investigated before triaging

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions