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.
This commit is contained in:
XsWack
2017-08-23 07:47:33 +08:00
committed by Steve Perry
parent 60a6ed4f4f
commit 9248fca03e
@@ -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