From 6711ba06d99b688e10c920f441f15f2a1dc059b0 Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Wed, 11 Apr 2018 21:09:46 -0500 Subject: [PATCH] Patch only daemonset pods --- slides/kube/daemonset.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/kube/daemonset.md b/slides/kube/daemonset.md index 93945f4b..f060b019 100644 --- a/slides/kube/daemonset.md +++ b/slides/kube/daemonset.md @@ -457,6 +457,6 @@ The timestamps should give us a hint about how many pods are currently receiving labels: isactive: "yes" ' - kubectl get pods -l run=rng -o name | + kubectl get pods -l run=rng -l controller-revision-hash -o name | xargs kubectl patch -p "$PATCH" ```