mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-25 15:56:29 +00:00
Delete pods with ''-l run-rng' and remove xargs
Delete pods with ''-l run-rng' and remove xargs
This commit is contained in:
@@ -431,8 +431,7 @@ The timestamps should give us a hint about how many pods are currently receiving
|
||||
|
||||
- Remove these pods:
|
||||
```bash
|
||||
kubectl get pods -l run=rng,isactive!=yes -o name |
|
||||
xargs kubectl delete
|
||||
kubectl delete pods -l run=rng,isactive!=yes -o name
|
||||
```
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user