Connect a cluster
Add a kubeconfig, switch contexts, and understand how Kubexer stores cluster credentials.
Connect a cluster
Kubexer talks to your clusters through standard kubeconfig files — the same ones kubectl uses.
Add a kubeconfig
- Open the cluster switcher and choose Add cluster.
- Either point Kubexer at an existing kubeconfig file on disk, or paste the contents directly.
- Pick the context you want to use. Each context maps to a cluster + user + default namespace.
Once added, the cluster appears in the switcher and its resources load in the sidebar.
How credentials are stored
Kubeconfigs that Kubexer manages for you (pasted in, or synced) are encrypted at rest using your operating system's secure storage. They are never written to disk in plaintext. When a tool needs a real file on disk — for example Helm — Kubexer materializes a temporary, locked-down (0600) file and removes it afterwards.
Kubeconfig files you point to on disk are read in place and left untouched.
Switching contexts
Use the cluster switcher at any time to jump between clusters. The active namespace filter, open drawers, and Workbench sessions are scoped per cluster, so switching never mixes state.
Related
- Kubeconfig Sync — keep your clusters available across devices (Pro).
- Scoped Kubeconfigs — hand out least-privilege access (Pro).