OpenShift Pod Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
=Pod Status=
=Pod Status=


  oc [-n ''<project-name>''] get pods
  oc [-n ''<project-name>''] [[oc get#pods|get pods]]
  oc [-n ''<project-name>''] [[Oc_describe#pod|describe]] pod ''<pod-name>''
  oc [-n ''<project-name>''] [[Oc_describe#pod|describe]] pod ''<pod-name>''
oc [-n ''<project-name>''] [[Oc_describe#pod|describe]] pod/''<pod-name>''

Revision as of 23:32, 30 July 2017

Internal

List Pods on Nodes

oadm manage-node <node-name> --list-pods

Pod Status

oc [-n <project-name>] get pods
oc [-n <project-name>] describe pod <pod-name>
oc [-n <project-name>] describe pod/<pod-name>