Skip to content

Commit 931622e

Browse files
authored
Merge pull request #72655 from JoeAldinger/OCPBUGS-19994
/lgtm OCPBUGS-19994:updates verification step for CLI NMState Operator
2 parents 374a99f + d8a78b7 commit 931622e

File tree

1 file changed

+30
-8
lines changed

1 file changed

+30
-8
lines changed

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

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,22 @@ spec:
7272
EOF
7373
----
7474

75-
. Create instance of the `nmstate` operator:
75+
. Confirm the `ClusterServiceVersion` (CSV) status for the `nmstate` Operator deployment equals `Succeeded`:
76+
+
77+
[source,terminal,subs="attributes+"]
78+
----
79+
$ oc get clusterserviceversion -n openshift-nmstate \
80+
-o custom-columns=Name:.metadata.name,Phase:.status.phase
81+
----
82+
+
83+
.Example output
84+
[source, terminal,subs="attributes+"]
85+
----
86+
Name Phase
87+
kubernetes-nmstate-operator.4.15.0-202210210157 Succeeded
88+
----
89+
90+
. Create an instance of the `nmstate` Operator:
7691
+
7792
[source,terminal]
7893
----
@@ -84,19 +99,26 @@ metadata:
8499
EOF
85100
----
86101

87-
.Verification
88-
89-
* Confirm that the deployment for the `nmstate` operator is running:
102+
. Verify the pods for NMState Operator are running:
90103
+
91104
[source,terminal]
92105
----
93-
oc get clusterserviceversion -n openshift-nmstate \
94-
-o custom-columns=Name:.metadata.name,Phase:.status.phase
106+
$ oc get pod -n openshift-nmstate
95107
----
96108
+
97109
.Example output
98110
[source, terminal,subs="attributes+"]
99111
----
100-
Name Phase
101-
kubernetes-nmstate-operator.{product-version}.0-202210210157 Succeeded
112+
Name Ready Status Restarts Age
113+
pod/nmstate-cert-manager-5b47d8dddf-5wnb5 1/1 Running 0 77s
114+
pod/nmstate-console-plugin-d6b76c6b9-4dcwm 1/1 Running 0 77s
115+
pod/nmstate-handler-6v7rm 1/1 Running 0 77s
116+
pod/nmstate-handler-bjcxw 1/1 Running 0 77s
117+
pod/nmstate-handler-fv6m2 1/1 Running 0 77s
118+
pod/nmstate-handler-kb8j6 1/1 Running 0 77s
119+
pod/nmstate-handler-wn55p 1/1 Running 0 77s
120+
pod/nmstate-operator-f6bb869b6-v5m92 1/1 Running 0 4m51s
121+
pod/nmstate-webhook-66d6bbd84b-6n674 1/1 Running 0 77s
122+
pod/nmstate-webhook-66d6bbd84b-vlzrd 1/1 Running 0 77s
102123
----
124+

0 commit comments

Comments
 (0)