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

Context view: Allow several active contexts at the same time (we currently only allow 1, switching is fast though) #835

Open
adietish opened this issue Feb 10, 2025 · 0 comments

Comments

@adietish
Copy link
Collaborator

adietish commented Feb 10, 2025

related to #162

You currently cannot watch 2+ contexts in parallel (which can be a problem though bcs too many watches eat memory, cpu etc.).

  • Lens lists all of them (like we currently do). You can also have several clusters "active" at the same time. They dont list individual items like pods in the navigator though, only the cathegory "Pods". You can list the pods in a editor that is watching them come and go though. That's how they avoid too many watches.
    The drawback is though, that you only see ex. all the pods that belong to a deployment after opening the editor that lists all the deployments and then open properties for your deployment (2 clicks while we list them right in the tree).
    Image

  • Jetbrains Kubernetes Plugin has a different approach. It requires the user to explicitly add contexts (we list all available ones, KUBECONFIG env var or main config file)

  • We could also improve the user experience by improvements when switching contexts instead. Bookmarks, restoring previous expansion states, etc. would help a lot. This could be a simple was to improve the current limitation since switching in our plugin is fast.

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

1 participant