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
* After you configure the cluster autoscaler, you must configure at least one machine autoscaler.
33
+
.Next steps
34
+
* After you configure the cluster autoscaler, you must xref:../machine_management/applying-autoscaling.adoc#configuring-machineautoscaler_applying-autoscaling[configure at least one machine autoscaler].
After you deploy the cluster autoscaler, deploy `MachineAutoscaler` resources that reference the compute machine sets that are used to scale the cluster.
* xref:../machine_management/applying-autoscaling.adoc#deleting-machine-autoscaler_applying-autoscaling[Disabling the machine autoscaler]
74
+
* xref:../machine_management/applying-autoscaling.adoc#ClusterAutoscaler-deploying_applying-autoscaling[Deploying a cluster autoscaler]
75
+
61
76
[role="_additional-resources"]
62
77
== Additional resources
63
78
64
-
* For more information about pod priority, see xref:../nodes/pods/nodes-pods-priority.adoc#nodes-pods-priority[Including pod priority in pod scheduling decisions in {product-title}].
79
+
* xref:../nodes/pods/nodes-pods-priority.adoc#nodes-pods-priority[Including pod priority in pod scheduling decisions in {product-title}]
* To verify that the cluster autoscaler is disabled, run the following command:
58
+
+
59
+
[source,terminal]
60
+
----
61
+
$ oc get ClusterAutoscaler
62
+
----
63
+
+
64
+
.Expected output
65
+
[source,terminal]
66
+
----
67
+
No resources found
68
+
----
69
+
70
+
.Next steps
71
+
72
+
* Disabling the cluster autoscaler by deleting the `ClusterAutoscaler` CR prevents the cluster from autoscaling but does not delete any existing machine autoscalers on the cluster. To clean up unneeded machine autoscalers, see "Disabling a machine autoscaler".
73
+
74
+
* If you need to re-enable the cluster autoscaler, use the `<cluster_autoscaler_name_backup>.yaml` backup file and follow the instructions in "Deploying a cluster autoscaler".
To disable a machine autoscaler, you delete the corresponding `MachineAutoscaler` custom resource (CR).
10
+
11
+
[NOTE]
12
+
====
13
+
Disabling a machine autoscaler does not disable the cluster autoscaler. To disable the cluster autoscaler, follow the instructions in "Disabling the cluster autoscaler".
14
+
====
15
+
16
+
.Procedure
17
+
18
+
. List the `MachineAutoscaler` CRs for the cluster by running the following command:
19
+
+
20
+
[source,terminal]
21
+
----
22
+
$ oc get MachineAutoscaler -n openshift-machine-api
* To verify that the machine autoscaler is disabled, run the following command:
60
+
+
61
+
[source,terminal]
62
+
----
63
+
$ oc get MachineAutoscaler -n openshift-machine-api
64
+
----
65
+
+
66
+
The disabled machine autoscaler does not appear in the list of machine autoscalers.
67
+
68
+
.Next steps
69
+
70
+
* If you need to re-enable the machine autoscaler, use the `<machine_autoscaler_name_backup>.yaml` backup file and follow the instructions in "Deploying a machine autoscaler".
0 commit comments