Difference between revisions of "Kubectl get"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 8: Line 8:
 
* <code>[[kubectl get deployment]]</code>
 
* <code>[[kubectl get deployment]]</code>
 
* <code>[[kubectl get events]]</code>
 
* <code>[[kubectl get events]]</code>
 +
* <code>[[kubectl get namespaces]]</code>
 
* <code>[[kubectl get replicaset]]</code>
 
* <code>[[kubectl get replicaset]]</code>
 
* <code>[[kubectl get pod]] PODNAME -n NAMESPACE -o yaml | kubectl replace --force -f -</code><ref>https://stackoverflow.com/a/45046340/9269906</ref>
 
* <code>[[kubectl get pod]] PODNAME -n NAMESPACE -o yaml | kubectl replace --force -f -</code><ref>https://stackoverflow.com/a/45046340/9269906</ref>

Revision as of 16:44, 4 May 2020


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


See also

  • https://stackoverflow.com/a/45046340/9269906
  • Advertising: