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

Missing "--all-namespaces" flag #8

Open
ledroide opened this issue Nov 2, 2021 · 1 comment
Open

Missing "--all-namespaces" flag #8

ledroide opened this issue Nov 2, 2021 · 1 comment

Comments

@ledroide
Copy link

ledroide commented Nov 2, 2021

The latest version mentions an "all namespaces" option that does not exist.

$ kubectl unused-volumes --help | grep namespaces
        # Get all unused volumes in all namespaces
        kubectl unused-volumes --all-namespaces

$ kubectl unused-volumes --all-namespaces
unknown flag: --all-namespaces

$ kubectl unused-volumes --version
unknown flag: --version

Workaround :

$ for NAMESPACE in $(kubectl get namespaces | awk '{print $1}') ; do echo " --- ${NAMESPACE} ---" ; kubectl unused-volumes --namespace ${NAMESPACE} --no-headers | egrep -v '^$' ; done
@hadican
Copy link

hadican commented Jun 8, 2022

Any progress? 😅

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

2 participants