Manually scaling a machine set
- If you enabled the cluster-wide proxy and scale up workers not included in from the installation configuration, you must add the workers to the Proxy object’s
noProxy
field to prevent connection issues.
To add or remove an instance of a machine in a machine set, you can manually scale the machine set.
This guidance is relevant to fully automated, installer-provisioned infrastructure installations. Customized, user-provisioned infrastructure installations do not have machine sets.
Prerequisites
Procedure
View the machine sets that are in the cluster:
The machine sets are listed in the form of
<clusterid>-worker-<aws-region-az>
.Scale the machine set:
You can scale the machine set up or down. It takes several minutes for the new machines to be available.
Random
, Newest
, and are the three supported deletion options. The default is Random
, meaning that random machines are chosen and deleted when scaling machine sets down. The deletion policy can be set according to the use case by modifying the particular machine set:
Specific machines can also be prioritized for deletion by adding the annotation machine.openshift.io/cluster-api-delete-machine
to the machine of interest, regardless of the deletion policy.