Difference between revisions of "Kubectl get"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre>kubectl get pod redis --watch NAME READY STATUS RESTARTS AGE redis 1/1 Running 0 13s</pre>")
 
Line 1: Line 1:
 +
::<code>[[kubectl get]] pod NAME_POD --namespace=MY_TEST_NAMESPACE</code>
 +
 +
 
<pre>kubectl get pod redis --watch
 
<pre>kubectl get pod redis --watch
 
NAME      READY    STATUS    RESTARTS  AGE
 
NAME      READY    STATUS    RESTARTS  AGE
 
redis    1/1      Running  0          13s</pre>
 
redis    1/1      Running  0          13s</pre>
 +
 +
 +
== See also ==
 +
* {{kubctl}}
 +
 +
[[Category:K8s}]

Revision as of 19:11, 6 January 2020

kubectl get pod NAME_POD --namespace=MY_TEST_NAMESPACE


kubectl get pod redis --watch
NAME      READY     STATUS    RESTARTS   AGE
redis     1/1       Running   0          13s


See also

[[Category:K8s}]

Advertising: