Skip to content

Commit 0d58cae

Browse files
authored
Update nodes-nodes-viewing-listing-pods.adoc
There is no resource type mentioned in below commands : $ oc describe --selector=<node_selector> $ oc describe -l=<pod_selector> If user runs these commands, they will get below error : error: You must specify the type of resource to describe. Use "oc api-resources" for a complete list of supported resources. The correct commands are as below : $ oc describe node --selector=<node_selector> $ oc describe node -l=<pod_selector>
1 parent c77837b commit 0d58cae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/nodes-nodes-viewing-listing-pods.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ $ oc describe node ip-10-0-128-218.ec2.internal
2828
+
2929
[source,terminal]
3030
----
31-
$ oc describe --selector=<node_selector>
31+
$ oc describe node --selector=<node_selector>
3232
----
3333
+
3434
[source,terminal]
3535
----
36-
$ oc describe node --selector=kubernetes.io/os
36+
$ oc describe node --selector=kubernetes.io/os
3737
----
3838
+
3939
Or:
4040
+
4141
[source,terminal]
4242
----
43-
$ oc describe -l=<pod_selector>
43+
$ oc describe node -l=<pod_selector>
4444
----
4545
+
4646
[source,terminal]

0 commit comments

Comments
 (0)