-
Notifications
You must be signed in to change notification settings - Fork 497
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
add wider #4274
base: master
Are you sure you want to change the base?
add wider #4274
Conversation
🤖 Beep beep! I’m a robot speaking on behalf of @ahmetb. 🤖 Thanks for submitting your kubectl plugin to Krew! In the meanwhile, here are a few tips to make your plugin manifest better:
Thanks for your patience! |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: boriscosic The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @boriscosic! |
Thanks for the submission. |
Thanks @ahmetb the example is a bit unclear perhaps. The intent is to query pod + node information using -o custom-columns format, grabbing aspects of node output combined with pod. wider is a play on expanded format provided by wide. Down the line I did consider the ability to extend to other resources but this was my immediate need. |
About
This plugin lets users query pod and associated node information with same command. There are multiple times when details of node, such as zone, provider etc need to be viewed alongside the pod and it requires two kubectl queries.
For example:
k wider -o custom-columns="NAME:.metadata.name,NODE:.node.metadata.name,IP:.status.hostIP,ZONE:.node.metadata.labels.topology\.kubernetes\.io/zone" -n kube-system -l k8s-app=kube-dns