Skip to content

Commit 0c9fb1f

Browse files
authored
Merge pull request #900 from jlojosnegros/gather-pod-info
Gather pod information to check IRQ load balancing
2 parents 3954332 + 4069142 commit 0c9fb1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

must-gather/collection-scripts/gather_nodes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ do
7070
oc exec $pod -n perf-node-gather -- gather_sysinfo --json podres --socket-path=unix:///host/podresources/kubelet.sock > $NODE_PATH/podresources.json
7171

7272
oc exec $pod -n perf-node-gather -- gather_sysinfo snapshot --debug --root=/host --output=- > $NODE_PATH/sysinfo.tgz 2> $NODE_PATH/sysinfo.log
73+
74+
oc get pods -A --field-selector spec.nodeName=$node,status.phase=Running -o go-template='[{{range $idx, $item := .items}} {{if (ne $idx 0)}},{{end}}{"namespace":"{{.metadata.namespace}}", "name":"{{.metadata.name}}", "nodeName":"{{.spec.nodeName}}", "qosClass": "{{.status.qosClass}}" }{{"\n"}}{{end}}]' > $NODE_PATH/pods_info.json
7375
done
7476

7577
# Collect journal logs for specified units for all nodes

0 commit comments

Comments
 (0)