We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada7984 commit 05bbba8Copy full SHA for 05bbba8
docs/self-managed/operational-guides/troubleshooting/diagnostics.md
@@ -118,7 +118,7 @@ echo " - Collecting config map information (configuration data stored in the na
118
kubectl get cm -n "$namespace" -o yaml > configmaps.yaml
119
120
echo " - Collecting node information:"
121
-for node in $(kubectl get pods -n "$namespace" -o wide --no-headers | awk '{print $7}' | sort | uniq); do
+for node in $(kubectl get pods -n "$namespace" -o custom-columns=":spec.nodeName" --no-headers | sort | uniq); do
122
echo " - Collecting information for node: $node"
123
kubectl describe node "$node" >> node-describe.txt
124
echo "" >> node-describe.txt
0 commit comments