Skip to content

Commit ffe5d02

Browse files
committed
some small cleanup to the MachineAutoscaler resource definition
1 parent 6894f39 commit ffe5d02

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

modules/machine-autoscaler-cr.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// * machine_management/applying-autoscaling.adoc
44
// * post_installation_configuration/cluster-tasks.adoc
55

6+
:_content-type: CONCEPT
67
[id="machine-autoscaler-cr_{context}"]
78
= MachineAutoscaler resource definition
89

@@ -24,16 +25,16 @@ spec:
2425
kind: MachineSet <5>
2526
name: worker-us-east-1a <6>
2627
----
27-
<1> Specify the machine autoscaler name. To make it easier to identify which machine set this machine autoscaler scales, specify or include the name of the machine set to scale. The machine set name takes the following form: `<clusterid>-<machineset>-<aws-region-az>`.
28+
<1> Specify the machine autoscaler name. To make it easier to identify which machine set this machine autoscaler scales, specify or include the name of the machine set to scale. The machine set name takes the following form: `<clusterid>-<machineset>-<region>`.
2829
<2> Specify the minimum number machines of the specified type that must remain in the specified zone after the cluster autoscaler initiates cluster scaling. If running in AWS, GCP, Azure, {rh-openstack}, or vSphere, this value can be set to `0`. For other providers, do not set this value to `0`.
2930
+
3031
You can save on costs by setting this value to `0` for use cases such as running expensive or limited-usage hardware that is used for specialized workloads, or by scaling a machine set with extra large machines. The cluster autoscaler scales the machine set down to zero if the machines are not in use.
3132
+
3233
[IMPORTANT]
3334
====
34-
Do not set the `spec.minReplicas` value to `0` for the three compute plane machine sets that are created during the {product-title} installation process for an installer provisioned infrastructure.
35+
Do not set the `spec.minReplicas` value to `0` for the three compute machine sets that are created during the {product-title} installation process for an installer provisioned infrastructure.
3536
====
36-
<3> Specify the maximum number machines of the specified type that the cluster autoscaler can deploy in the specified AWS zone after it initiates cluster scaling. Ensure that the `maxNodesTotal` value in the `ClusterAutoscaler` resource definition is large enough to allow the machine autoscaler to deploy this number of machines.
37+
<3> Specify the maximum number machines of the specified type that the cluster autoscaler can deploy in the specified zone after it initiates cluster scaling. Ensure that the `maxNodesTotal` value in the `ClusterAutoscaler` resource definition is large enough to allow the machine autoscaler to deploy this number of machines.
3738
<4> In this section, provide values that describe the existing machine set to scale.
3839
<5> The `kind` parameter value is always `MachineSet`.
3940
<6> The `name` value must match the name of an existing machine set, as shown in the `metadata.name` parameter value.

0 commit comments

Comments
 (0)