From 4bd46900b245ebd052af31606df3068023df06bd Mon Sep 17 00:00:00 2001 From: Dani Comnea Date: Thu, 7 Mar 2019 22:24:12 +0000 Subject: [PATCH] Update debug-pod-replication-controller task file and fix the kubectl grep (#12797) --- .../debug-pod-replication-controller.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md b/content/en/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md index 806347eff0..1f996b1042 100644 --- a/content/en/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md +++ b/content/en/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md @@ -63,7 +63,7 @@ case you can try several things: information: ```shell - kubectl get nodes -o yaml | grep '\sname\|cpu\|memory' + kubectl get nodes -o yaml | egrep '\sname:\|cpu:\|memory:' kubectl get nodes -o json | jq '.items[] | {name: .metadata.name, cap: .status.capacity}' ```