From b036b5f24b3ba4e219cb1f1806383adcffd7c03e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20GARROUSTE?= Date: Sun, 15 Apr 2018 16:37:10 +0200 Subject: [PATCH] Delete pods with ''-l run-rng' and remove xargs Delete pods with ''-l run-rng' and remove xargs --- slides/kube/daemonset.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/slides/kube/daemonset.md b/slides/kube/daemonset.md index 93945f4b..74c93ff7 100644 --- a/slides/kube/daemonset.md +++ b/slides/kube/daemonset.md @@ -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 ``` ]