Skip to content

Commit

Permalink
[kubernetes] Capture json output for nodes
Browse files Browse the repository at this point in the history
json outputs are easier to parse than the default
output, so lets capture these.

Resolves: sosreport#3484

Co-authored-by: Hervé CHIBOIS <[email protected]>

Signed-off-by: Jose Castillo <[email protected]>
  • Loading branch information
jcastill committed Feb 8, 2024
1 parent 480d3ed commit 3d38287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sos/report/plugins/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def setup(self):
continue
node = words[0]
self.add_cmd_output(
"%s describe node %s" % (self.kube_cmd, node),
f"{self.kube_cmd} {kube_get_cmd} node {node}",
subdir='nodes'
)

Expand Down

0 comments on commit 3d38287

Please sign in to comment.