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

Provide specific command to execute instead of browsing? #15

Open
reefland opened this issue Mar 9, 2024 · 0 comments
Open

Provide specific command to execute instead of browsing? #15

reefland opened this issue Mar 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@reefland
Copy link

reefland commented Mar 9, 2024

For example, I just want to check how much space available, can I provide a command to execute and then exit out?

kubectl browse-pvc -n home-assistant volsync-home-assistant-cache "df -h ."
Filesystem                Size      Used Available Use% Mounted on
/dev/rbd2                 3.9G     41.8M      3.8G   1% /mnt

Instead of:

kubectl browse-pvc -n home-assistant volsync-home-assistant-cache
✓ Pod Started
pvcb-edit-volsync-home-assistant-cache-x95m4:/mnt# df -h .
Filesystem                Size      Used Available Use% Mounted on
/dev/rbd2                 3.9G     41.8M      3.8G   1% /mnt
pvcb-edit-volsync-home-assistant-cache-x95m4:/mnt# exit
exit
@clbx clbx added the enhancement New feature or request label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants