Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON output for status #956

Closed
raphink opened this issue Jul 6, 2022 · 0 comments · Fixed by #958
Closed

JSON output for status #956

raphink opened this issue Jul 6, 2022 · 0 comments · Fixed by #958
Labels
kind/feature New feature or request

Comments

@raphink
Copy link
Member

raphink commented Jul 6, 2022

Proposal / RFE

It would be useful if the output of the status commands could be easily parsed.

For example, I'm using cilium clustermesh status to check if clusters are meshed with one another, something like:

cilium clustermesh status --context cluster1 | grep -q cluster2 && echo "meshed"

but it'd be more precise to get a -o json or -o jsonpath and filter on a specific field of the output.

@raphink raphink added the kind/feature New feature or request label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant