1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/cpmso-checking-status.adoc
2022-11-22 16:29:29 +00:00

32 lines
1.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * machine_management/cpmso-getting-started.adoc
:_content-type: PROCEDURE
[id="cpmso-checking-status_{context}"]
= Checking the control plane machine set custom resource status
You can verify the existence and status of the `ControlPlaneMachineSet` custom resource (CR).
.Procedure
* Determine the state of the CR by running the following command:
+
[source,terminal]
----
$ oc get controlplanemachineset.machine.openshift.io cluster --namespace openshift-machine-api
----
** A result of `Active` indicates that the `ControlPlaneMachineSet` CR exists and is activated. No administrator action is required.
** A result of `Inactive` indicates that a `ControlPlaneMachineSet` CR exists but is not activated.
** A result of `NotFound` indicates that there is no existing `ControlPlaneMachineSet` CR.
.Next steps
Before using the Operator, 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.