modified: README.md
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user