cilium-cli
cilium-cli copied to clipboard
JSON output for status
trafficstars
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.