You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cluster-autoscaler/FAQ.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -629,6 +629,11 @@ When using this class, Cluster Autoscaler performs following actions:
629
629
Adds a Provisioned=True condition to the ProvReq if capacity is available.
630
630
Adds a BookingExpired=True condition when the 10-minute reservation period expires.
631
631
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
+
632
637
*`best-effort-atomic-scale-up.autoscaling.x-k8s.io` (supported from Cluster Autoscaler version 1.30.2 or later).
633
638
When using this class, Cluster Autoscaler performs following actions:
634
639
@@ -735,12 +740,12 @@ setting the following flag in your Cluster Autoscaler configuration:
735
740
3. **Batch Size**: Set the maximum number of CheckCapacity ProvisioningRequests
736
741
to process in a single iteration by setting the following flag in your Cluster
737
742
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.
739
744
740
745
4. **Batch Timebox**: Set the maximum time in seconds that Cluster Autoscaler will
741
746
spend processing CheckCapacity ProvisioningRequests in a single iteration by
742
747
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.
744
749
745
750
****************
746
751
@@ -973,13 +978,15 @@ The following startup parameters are supported for cluster autoscaler:
973
978
| `bulk-mig-instances-listing-enabled` | Fetch GCE mig instances in bulk instead of per mig | |
974
979
| `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. | |
975
980
| `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. | |
976
982
| `check-capacity-provisioning-request-batch-timebox` | Maximum time to process a batch of provisioning requests. | 10s |
977
983
| `check-capacity-provisioning-request-max-batch-size` | Maximum number of provisioning requests to process in a single batch. | 10 |
978
984
| `cloud-config` | The path to the cloud provider configuration file. Empty string for no configuration file. | |
| `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 |
981
987
| `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 |
982
988
| `cluster-name` | Autoscaled cluster name, if available | |
989
+
| `cluster-snapshot-parallelism` | Maximum parallelism of cluster snapshot creation. | 16 |
983
990
| `clusterapi-cloud-config-authoritative` | Treat the cloud-config flag authoritatively (do not fallback to using kubeconfig flag). ClusterAPI only | |
984
991
| `cordon-node-before-terminating` | Should CA cordon nodes before terminating during downscale process | |
985
992
| `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