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

Easy namespace switching #1

Closed
robonilha opened this issue Feb 7, 2024 · 7 comments
Closed

Easy namespace switching #1

robonilha opened this issue Feb 7, 2024 · 7 comments
Labels
bug Something isn't working released

Comments

@robonilha
Copy link

Changing between namespaces require choosing the cluster and then choosing the namespace, as someone that needs to change namespaces within the same cluster very often it would be great if they could be separate actions.

Kudos for the app, it's already quite useful!

@unxsist
Copy link
Owner

unxsist commented Feb 7, 2024

Hey,

Quick switching should be available through the Command Palette, basically hit Cmd+K (Mac) or Ctrl+K (Win/Linux) and select Switch Context and use your keyboard from there.

I have plans on adding shortcuts to specific commands at a later stage, which should improve this even more :)

@robonilha
Copy link
Author

Having the command palette is great, but what I mean is to have the option to choose a different namespace without having to choose the context again. Similar to kubens <different_ns> in CLI or :namespace in k9s.

I suppose it's not everybody that needs switching namespaces often :D

@unxsist
Copy link
Owner

unxsist commented Feb 8, 2024

The latest release (1.18.0) should resolve some of your annoyances. First of all it's now possible to switch namespaces through a special Switch Namespace command which allows for quick switching in your current context.

Next to that I've improved filtering for commands, so if you would open up the Command Palette and search for things like ctx/context or ns/namespace, this would immediately select context or namespace switching commands.

Let me know if you feel there's more room for improvement before I close out this ticket though!

@PlugaruT
Copy link

Doesn't seem to work on the latest app version. If I use "Switch namespace" command, it does nothing, it does not allow me to search in the current available list of namespaces.

@unxsist
Copy link
Owner

unxsist commented Sep 26, 2024

@PlugaruT it indeed seems broken, I'll make sure to have this fixed in the next release!

@unxsist unxsist added the bug Something isn't working label Sep 26, 2024
unxsist pushed a commit that referenced this issue Sep 26, 2024
# [1.30.0](v1.29.0...v1.30.0) (2024-09-26)

### Bug Fixes

* added support for cluster nodes, namespaces and crd's ([c2f9da3](c2f9da3)), closes [#23](#23)
* age sorting is now correctly sorting by date ([142c101](142c101)), closes [#27](#27)
* fixed switching namespaces through the command palette ([47e33eb](47e33eb)), closes [#1](#1)
* improve loading performance of generic resources and fixed event linking to non-generic resources ([1be6126](1be6126))

### Features

* added support for events ([9c95ffa](9c95ffa))
* added support for helm ([550a3c1](550a3c1)), closes [#22](#22)
* added support for node cordoning and draining ([1adb94f](1adb94f))
@unxsist
Copy link
Owner

unxsist commented Sep 26, 2024

🚀 This issue is resolved in version 1.30.0 of JET Pilot!

@PlugaruT
Copy link

I can confirm. It works as expected!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

3 participants