From 4d8c488a3b32ec05999c4ebb5ff9267bced0b117 Mon Sep 17 00:00:00 2001 From: Nihanth Dara Date: Wed, 8 Aug 2018 19:00:34 -0500 Subject: [PATCH] Fix kubectl top for memory-demo pod (#9667) Fixed command for accessing metrics(top) for memory-demo pod. --- .../tasks/configure-pod-container/assign-memory-resource.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/configure-pod-container/assign-memory-resource.md b/content/en/docs/tasks/configure-pod-container/assign-memory-resource.md index 8d03fc86b9..cf14d03915 100644 --- a/content/en/docs/tasks/configure-pod-container/assign-memory-resource.md +++ b/content/en/docs/tasks/configure-pod-container/assign-memory-resource.md @@ -111,7 +111,7 @@ resources: Use `kubectl top` to fetch the metrics for the pod: ```shell -kubectl top pod memory-demo +kubectl top pod memory-demo --namespace=mem-example ``` The output shows that the Pod is using about 162,900,000 bytes of memory, which