This is a...
Problem:
-
Code examples in published docs have misformatted, "printing" quotes instead of original, single quotes. That makes this code unusable without manual fixing.
-
Code examples in published doc do not keep line endings.
Code in original .md file is correct:
https://github.com/kubernetes/website/blob/master/content/en/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md
Code published on page:
kubectl get nodes -o yaml \| grep ‘\sname\|cpu\|memory’
--
| kubectl get nodes -o json \| jq ‘.items[] \| {name: .metadata.name, cap: .status.capacity}’
|
Proposed Solution:
Get better md2html formatter as this creates harder to use doc (looks like the docs are broken)
Page to Update:
https://kubernetes.io/...