yashbhutwala / kubectl-df-pv

kubectl plugin - giving admins df (disk free) like utility for persistent volumes
Apache License 2.0
416 stars 32 forks source link

Support kubectl standard flags #21

Open neowulf opened 3 years ago

neowulf commented 3 years ago

This is an awesome project! Thank you for working on this much needed feature!

I installed this plugin via:

kubectl krew install df-pv

I am unable to use the standard kubectl flags to switch the context and the namespace and I get this error:

$ kubectl --context $kubecontext df-pv                                                                                                        
Error: flags cannot be placed before plugin name: --context

I work with multiple clusters at a time and so setting the kubectx would be time consuming.

RaulButuc commented 2 years ago

Should also support multiple output formats -o