// get all node_names
oc get nodes
// Let's say the node we are interested in is: my_specific_node_name_here
// Get pods running in the specific node
oc get pod --field-selector=spec.nodeName=<my_specific_node_name_here> --all-namespaces
// Get pods running in the specific node with specific state
oc get pod --field-selector=spec.nodeName=<my_specific_node_name_here> --all-namespaces
| grep ContainerCreating
No comments:
Post a Comment