Skip to content

Commit

Permalink
Add note for --max-nodes-per-scaleup flag for best-effort-atomic prov…
Browse files Browse the repository at this point in the history
…req class
  • Loading branch information
yaroslava-serdiuk committed Dec 12, 2024
1 parent 7ea1022 commit 01dce2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cluster-autoscaler/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,14 +640,17 @@ When using this class, Cluster Autoscaler performs following actions:
implementation of the AtomicIncreaseSize method. If the method is not implemented, the scale-up
request will try to increase the node group atomically but doesn't guarantee atomicity.

* __Reservation from other ProvReqs (if scale up request succeeded)__: Reserves this capacity for the ProvisioningRequest for 10 minutes,
* __Reservation from other ProvReqs (if scale up request succeeded)__: Reserves this capacity for the ProvisioningRequest for 10 minutes,
preventing other ProvReqs from using it.

* __Condition Updates__:
* Adds a Accepted=True condition when ProvReq is accepted by ClusterAutoscaler.
* Adds a Provisioned=True condition to the ProvReq if the node group scale up request is successful.
* Adds a BookingExpired=True condition when the 10-minute reservation period expires.

Note: make sure you setup --max-nodes-per-scaleup flag correctly. By default --max-nodes-per-scaleup=1000, so any scale up that
require more than 1000 nodes will be rejected.

#### Example Usage

Deploy the first 2 resources, observe the request being Approved and Provisioned,
Expand Down

0 comments on commit 01dce2e

Please sign in to comment.