Skip to content

Commit 0bbbee0

Browse files
authored
Merge pull request #99905 from dfitzmau/OSDOCS-16361
OSDOCS-16361: Added new verification command to k8s-nmstate-deploying…
2 parents 01e9815 + ece08ea commit 0bbbee0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

modules/k8s-nmstate-deploying-nmstate-CLI.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ You can install the Kubernetes NMState Operator by using the OpenShift CLI (`oc)
1111
.Prerequisites
1212

1313
* You have installed the OpenShift CLI (`oc`).
14-
1514
* You are logged in as a user with `cluster-admin` privileges.
1615
1716
.Procedure
@@ -106,10 +105,17 @@ spec:
106105
----
107106
$ oc apply -f <filename>.yaml
108107
----
108+
+
109+
.. 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.
110+
+
111+
[source,yaml]
112+
----
113+
$ oc wait --for=condition=Available nmstate/nmstate --timeout=600s
114+
----
109115

110116
.Verification
111117

112-
* Verify that all pods for the NMState Operator have the `Running` status by entering the following command:
118+
. Verify that all pods for the NMState Operator have the `Running` status by entering the following command:
113119
+
114120
[source,terminal]
115121
----

0 commit comments

Comments
 (0)