Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Paola Cortés <51036950+cortespao@users.noreply.github.com>
  • Loading branch information
yaroslava-serdiuk and cortespao authored Jun 10, 2024
1 parent b64c578 commit 86d5001
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cluster-autoscaler/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,19 +561,19 @@ For a complete list of the feature gates and their default values per Kubernetes

### How can I use ProvisioningRequest to run batch workloads

Provisioning Request (abbr. ProvReq) is a new namespaced Custom Resource that aims to allow users to ask CA for capacity for groups of pods. For a detailed explanation of the ProvisioningRequest API, please refer to the
ProvisioningRequest (or ProvReq) is a new namespaced Custom Resource that allows you to ask CA for capacity for groups of pods. For a detailed explanation of the ProvisioningRequest API, please refer to the
[proposal](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/proposals/provisioning-request.md).

#### Enabling ProvisioningRequest Support

1. **Cluster Autoscaler Version**: Ensure you are using Cluster Autoscaler version 1.30.1 or later.

2. **Feature Flag**: Enable ProvisioningRequest support by setting the following flag in your Cluster Autoscaler configuration:
--enable-provisioning-reques=true.
`--enable-provisioning-reques=true`.

#### Supported ProvisioningClasses

Currently, ClusterAutoscaler supports following ProvisioningClasses:
ClusterAutoscaler supports the following ProvisioningClasses:

* `check-capacity.autoscaling.x-k8s.io`.
When using this class, Cluster Autoscaler performs following actions:
Expand All @@ -583,9 +583,9 @@ When using this class, Cluster Autoscaler performs following actions:
* **Reservation** (if capacity is available): 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 and ClusterAutoscaler will check capacity for this ProvReq.
Adds a Provisioned=True condition to the ProvReq if capacity is available.
Adds a BookingExpired=True condition when the 10-minute reservation period expires.
Adds a `Accepted=True` condition when ProvReq is accepted by ClusterAutoscaler and ClusterAutoscaler will check capacity for this ProvReq.
Adds a `Provisioned=True` condition to the ProvReq if capacity is available.
Adds a `BookingExpired=True` condition when the 10-minute reservation period expires.

****************

Expand Down

0 comments on commit 86d5001

Please sign in to comment.