1 |
Specify the priority that a pod must exceed to cause the cluster autoscaler to deploy additional nodes. Enter a 32-bit integer value. The podPriorityThreshold value is compared to the value of the PriorityClass that you assign to each pod. |
2 |
Specify the maximum number of nodes to deploy. This value is the total number of machines that are deployed in your cluster, not just the ones that the autoscaler controls. Ensure that this value is large enough to account for all of your control plane and compute machines and the total number of replicas that you specify in your MachineAutoscaler resources. |
3 |
Specify the minimum number of cores to deploy in the cluster. |
4 |
Specify the maximum number of cores to deploy in the cluster. |
5 |
Specify the minimum amount of memory, in GiB, in the cluster. |
6 |
Specify the maximum amount of memory, in GiB, in the cluster. |
7 |
Optional: To configure the cluster autoscaler to deploy GPU-enabled nodes, specify a type value.
This value must match the value of the spec.template.spec.metadata.labels[cluster-api/accelerator] label in the machine set that manages the GPU-enabled nodes of that type.
For example, this value might be nvidia-t4 to represent Nvidia T4 GPUs, or nvidia-a10g for A10G GPUs.
For more information, see "Labeling GPU machine sets for the cluster autoscaler". |
8 |
Specify the minimum number of GPUs of the specified type to deploy in the cluster. |
9 |
Specify the maximum number of GPUs of the specified type to deploy in the cluster. |
10 |
Specify the logging verbosity level between 0 and 10 . The following log level thresholds are provided for guidance:
-
1 : (Default) Basic information about changes.
-
4 : Debug-level verbosity for troubleshooting typical issues.
-
9 : Extensive, protocol-level debugging information.
If you do not specify a value, the default value of 1 is used.
|
11 |
In this section, you can specify the period to wait for each action by using any valid ParseDuration interval, including ns , us , ms , s , m , and h . |
12 |
Specify whether the cluster autoscaler can remove unnecessary nodes. |
13 |
Optional: Specify the period to wait before deleting a node after a node has recently been added. If you do not specify a value, the default value of 10m is used. |
14 |
Optional: Specify the period to wait before deleting a node after a node has recently been deleted. If you do not specify a value, the default value of 0s is used. |
15 |
Optional: Specify the period to wait before deleting a node after a scale down failure occurred. If you do not specify a value, the default value of 3m is used. |
16 |
Optional: Specify a period of time before an unnecessary node is eligible for deletion. If you do not specify a value, the default value of 10m is used. |
17 |
Optional: Specify the node utilization level. Nodes below this utilization level are eligible for deletion.
The node utilization level is the sum of the requested resources divided by the allocated resources for the node, and must be a value greater than "0" but less than "1" . If you do not specify a value, the cluster autoscaler uses a default value of "0.5" , which corresponds to 50% utilization. You must express this value as a string.
|
18 |
Optional: Specify any expanders that you want the cluster autoscaler to use.
The following values are valid:
-
LeastWaste : Selects the machine set that minimizes the idle CPU after scaling.
If multiple machine sets would yield the same amount of idle CPU, the selection minimizes unused memory.
-
Priority : Selects the machine set with the highest user-assigned priority.
To use this expander, you must create a config map that defines the priority of your machine sets.
For more information, see "Configuring a priority expander for the cluster autoscaler."
-
Random : (Default) Selects the machine set randomly.
If you do not specify a value, the default value of Random is used.
You can specify multiple expanders by using the [LeastWaste, Priority] format.
The cluster autoscaler applies each expander according to the specified order.
In the [LeastWaste, Priority] example, the cluster autoscaler first evaluates according to the LeastWaste criteria.
If more than one machine set satisfies the LeastWaste criteria equally well, the cluster autoscaler then evaluates according to the Priority criteria.
If more than one machine set satisfies all of the specified expanders equally well, the cluster autoscaler selects one to use at random.
|