Skip to content

Commit 9cac6a4

Browse files
committed
Update FAQ to reflect recent changes in ProvisioningRequests processing
1 parent 7115527 commit 9cac6a4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

cluster-autoscaler/FAQ.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,11 @@ When using this class, Cluster Autoscaler performs following actions:
629629
Adds a Provisioned=True condition to the ProvReq if capacity is available.
630630
Adds a BookingExpired=True condition when the 10-minute reservation period expires.
631631

632+
Since Cluster Autoscaler version 1.33, it is possible to configure the autoscaler
633+
to process only those check capacity ProvisioningRequests, that have a prefix matching the `--check-capacity-provisioning-class-prefix=<prefix>` flag.
634+
This allows to run two Cluster Autoscalers in the cluster, but instance with the configured prefix
635+
**should only** handle check capacity ProvisioningRequests and not overlap node groups with the main instance.
636+
632637
* `best-effort-atomic-scale-up.autoscaling.x-k8s.io` (supported from Cluster Autoscaler version 1.30.2 or later).
633638
When using this class, Cluster Autoscaler performs following actions:
634639

@@ -735,12 +740,12 @@ setting the following flag in your Cluster Autoscaler configuration:
735740
3. **Batch Size**: Set the maximum number of CheckCapacity ProvisioningRequests
736741
to process in a single iteration by setting the following flag in your Cluster
737742
Autoscaler configuration:
738-
`--max-batch-size=<batch-size>`. The default value is 10.
743+
`--check-capacity-provisioning-request-max-batch-size=<batch-size>`. The default value is 10.
739744

740745
4. **Batch Timebox**: Set the maximum time in seconds that Cluster Autoscaler will
741746
spend processing CheckCapacity ProvisioningRequests in a single iteration by
742747
setting the following flag in your Cluster Autoscaler configuration:
743-
`--batch-timebox=<timebox>`. The default value is 10s.
748+
`--check-capacity-provisioning-request-batch-timebox=<timebox>`. The default value is 10s.
744749

745750
****************
746751

@@ -973,13 +978,15 @@ The following startup parameters are supported for cluster autoscaler:
973978
| `bulk-mig-instances-listing-enabled` | Fetch GCE mig instances in bulk instead of per mig | |
974979
| `bypassed-scheduler-names` | Names of schedulers to bypass. If set to non-empty value, CA will not wait for pods to reach a certain age before triggering a scale-up. | |
975980
| `check-capacity-batch-processing` | Whether to enable batch processing for check capacity requests. | |
981+
| `check-capacity-provisioning-class-prefix` | Prefix of provisioningClassName that will be filtered by processors. Only ProvisioningRequests with this prefix in their class will be processed by this CA. It refers only to check capacity ProvisioningRequests. | |
976982
| `check-capacity-provisioning-request-batch-timebox` | Maximum time to process a batch of provisioning requests. | 10s |
977983
| `check-capacity-provisioning-request-max-batch-size` | Maximum number of provisioning requests to process in a single batch. | 10 |
978984
| `cloud-config` | The path to the cloud provider configuration file. Empty string for no configuration file. | |
979985
| `cloud-provider` | Cloud provider type. Available values: [aws,azure,gce,alicloud,cherryservers,cloudstack,baiducloud,magnum,digitalocean,exoscale,externalgrpc,huaweicloud,hetzner,oci,ovhcloud,clusterapi,ionoscloud,kamatera,kwok,linode,bizflycloud,brightbox,equinixmetal,vultr,tencentcloud,civo,scaleway,rancher,volcengine] | "gce" |
980986
| `cloud-provider-gce-l7lb-src-cidrs` | CIDRs opened in GCE firewall for L7 LB traffic proxy & health checks | 130.211.0.0/22,35.191.0.0/16 |
981987
| `cloud-provider-gce-lb-src-cidrs` | CIDRs opened in GCE firewall for L4 LB traffic proxy & health checks | 130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16 |
982988
| `cluster-name` | Autoscaled cluster name, if available | |
989+
| `cluster-snapshot-parallelism` | Maximum parallelism of cluster snapshot creation. | 16 |
983990
| `clusterapi-cloud-config-authoritative` | Treat the cloud-config flag authoritatively (do not fallback to using kubeconfig flag). ClusterAPI only | |
984991
| `cordon-node-before-terminating` | Should CA cordon nodes before terminating during downscale process | |
985992
| `cores-total` | Minimum and maximum number of cores in cluster, in the format <min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers. | "0:320000" |

0 commit comments

Comments
 (0)