10.2.2. Checking the control plane machine set custom resource state
Check the state of the control plane machine set custom resource to determine if it is active, inactive, or missing before making configuration changes.
Procedure
Determine the state of the CR by running the following command:
$ oc get controlplanemachineset.machine.openshift.io cluster \ --namespace openshift-machine-api-
A result of
Activeindicates that theControlPlaneMachineSetCR exists and is activated. No administrator action is required. -
A result of
Inactiveindicates that aControlPlaneMachineSetCR exists but is not activated. -
A result of
NotFoundindicates that there is no existingControlPlaneMachineSetCR.
-
A result of
Next steps
To use the control plane machine set, you must ensure that a ControlPlaneMachineSet CR with the correct settings for your cluster exists.
- If your cluster has an existing CR, you must verify that the configuration in the CR is correct for your cluster.
- If your cluster does not have an existing CR, you must create one with the correct configuration for your cluster.