Connect a cluster

Add a kubeconfig, switch contexts, and understand how Kubexer stores cluster credentials.

kubeconfigclustercontextsecurity

Connect a cluster

Kubexer talks to your clusters through standard kubeconfig files — the same ones kubectl uses.

Add a kubeconfig

  1. Open the cluster switcher and choose Add cluster.
  2. Either point Kubexer at an existing kubeconfig file on disk, or paste the contents directly.
  3. 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