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.pull/5066/merge
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
|
command. Here are some example command lines that extract just the necessary
|
||||||
information:
|
information:
|
||||||
|
|
||||||
kubectl get nodes -o yaml | grep '\sname\|cpu\|memory'
|
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 json | jq '.items[] | {name: .metadata.name, cap: .status.capacity}'
|
||||||
|
|
||||||
The [resource quota](/docs/concepts/policy/resource-quotas/)
|
The [resource quota](/docs/concepts/policy/resource-quotas/)
|
||||||
feature can be configured to limit the total amount of
|
feature can be configured to limit the total amount of
|
||||||
|
|
Loading…
Reference in New Issue