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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user