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

use of --jsonpath sometimes is a better choice #8

Open
yoshikakbudto opened this issue Jun 28, 2021 · 0 comments
Open

use of --jsonpath sometimes is a better choice #8

yoshikakbudto opened this issue Jun 28, 2021 · 0 comments

Comments

@yoshikakbudto
Copy link

yoshikakbudto commented Jun 28, 2021

There is a cewl --jsonpath parameter. It can almost always substitute use of jq tool especially when you need to get one value.

It cant pretty print, though it worth mentioning

kubectl get po kiada -o jsonpath='{.status.phase}'
Running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant