mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
OSDOCS-16361: Added new verification command to k8s-nmstate-deploying-nmstate-CLI.adoc
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
a2a877c393
commit
94531b73e8
@@ -11,7 +11,6 @@ You can install the Kubernetes NMState Operator by using the OpenShift CLI (`oc)
|
||||
.Prerequisites
|
||||
|
||||
* You have installed the OpenShift CLI (`oc`).
|
||||
|
||||
* You are logged in as a user with `cluster-admin` privileges.
|
||||
|
||||
.Procedure
|
||||
@@ -106,10 +105,17 @@ spec:
|
||||
----
|
||||
$ oc apply -f <filename>.yaml
|
||||
----
|
||||
+
|
||||
.. Monitor the `nmstate` CRD until the resource reaches the `Available` condition by running the following command. Ensure that you set a value for the `--timeout` option so that if the `Available` condition is not met within this set maximum waiting time, the command times out and generates an error message.
|
||||
+
|
||||
[source,yaml]
|
||||
----
|
||||
$ oc wait --for=condition=Available nmstate/nmstate --timeout=600s
|
||||
----
|
||||
|
||||
.Verification
|
||||
|
||||
* Verify that all pods for the NMState Operator have the `Running` status by entering the following command:
|
||||
. Verify that all pods for the NMState Operator have the `Running` status by entering the following command:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user