From 9248fca03e42161c29a3328b969083ec925d291b Mon Sep 17 00:00:00 2001 From: XsWack Date: Wed, 23 Aug 2017 07:47:33 +0800 Subject: [PATCH] Update debug-pod-replication-controller.md (#5100) Fix leading spaces in kubectl commands and unified format.This is causing bash/zsh shells to not to record the executed command in the history. --- .../debug-pod-replication-controller.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md b/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md index bdec262447..59cd762b32 100644 --- a/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md +++ b/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md @@ -45,8 +45,8 @@ case you can try several things: command. Here are some example command lines that extract just the necessary information: - kubectl get nodes -o yaml | grep '\sname\|cpu\|memory' - kubectl get nodes -o json | jq '.items[] | {name: .metadata.name, cap: .status.capacity}' + kubectl get nodes -o yaml | grep '\sname\|cpu\|memory' + kubectl get nodes -o json | jq '.items[] | {name: .metadata.name, cap: .status.capacity}' The [resource quota](/docs/concepts/policy/resource-quotas/) feature can be configured to limit the total amount of