diff --git a/README.md b/README.md index fdda469..bee1f40 100644 --- a/README.md +++ b/README.md @@ -182,6 +182,18 @@ echo $POD_NAME kubectl get pods -A -o wide | grep 10.0.3.224 ``` +**Get all pods Shows NAMESPACE, NAME, READY, STATUS, RESTARTS, AGE.** + +``` bash + kubectl get pods -A +``` + +**Get all pods on specific node.** + +``` bash + kubectl get pods -A -o wide --field-selector spec.nodeName=${NODE_NAME} +``` + ### delete Pod ``` bash