Skip to content

Commit 7968f28

Browse files
Merge pull request #84711 from snarayan-redhat/OSDOCS-11332_removesteps
OSDOCS#11332: Removed unnecessary steps for vSphere Problem Detector Operator check
2 parents 9919a8d + 25a9aed commit 7968f28

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

modules/vsphere-problem-detector-running.adoc

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,41 +18,31 @@ The {operator-name} automatically runs the checks every hour. However, when the
1818
1919
.Procedure
2020

21-
. Scale the Operator to `0`:
21+
* Scale the Operator to `0`:
2222
+
2323
[source,terminal]
2424
----
2525
$ oc scale deployment/vsphere-problem-detector-operator --replicas=0 \
2626
-n openshift-cluster-storage-operator
2727
----
28-
+
29-
If the deployment does not scale to zero immediately, you can run the following command to wait for the pods to exit:
30-
+
31-
[source,terminal]
32-
----
33-
$ oc wait pods -l name=vsphere-problem-detector-operator \
34-
--for=delete --timeout=5m -n openshift-cluster-storage-operator
35-
----
3628
37-
. Scale the Operator back to `1`:
29+
.Verification
30+
31+
* Verify that the pods have restarted by running the following command:
3832
+
3933
[source,terminal]
4034
----
41-
$ oc scale deployment/vsphere-problem-detector-operator --replicas=1 \
42-
-n openshift-cluster-storage-operator
35+
$ oc -n openshift-cluster-storage-operator get pod -l name=vsphere-problem-detector-operator -w
4336
----
44-
45-
. Delete the old leader lock to speed up the new leader election for the Cluster Storage Operator:
4637
+
38+
.Example output
4739
[source,terminal]
4840
----
49-
$ oc delete -n openshift-cluster-storage-operator \
50-
cm vsphere-problem-detector-lock
41+
NAME READY STATUS RESTARTS AGE
42+
vsphere-problem-detector-operator-77486bd645-9ntpb 1/1 Running 0 11s
5143
----
52-
53-
.Verification
54-
55-
* View the events or logs that are generated by the {operator-name}. Confirm that the events or logs have recent timestamps.
44+
+
45+
The `AGE` field must indicate that the pod is restarted.
5646
5747
// Clear temporary attributes
5848
:!operator-name:

0 commit comments

Comments
 (0)