Cluster Management
KubeVision can manage multiple Kubernetes clusters from a single dashboard. All clusters share the same UI, RBAC, and audit log.
Auto-Detection from kubeconfig
On startup, KubeVision reads the local kubeconfig (~/.kube/config by default) and registers every context it finds as a managed cluster.
# Override the kubeconfig path via environment variable
KUBECONFIG=/path/to/kubeconfig ./kubevision
If your kubeconfig has multiple contexts, all of them are imported automatically. You do not need to add them manually.
Adding a Cluster
- Go to Settings → Clusters
- Click Add Cluster
- Fill in the form:
| Field | Description |
|---|---|
| Name | Display name shown in the sidebar |
| kubeconfig | Paste the kubeconfig YAML or upload the file |
- Click Save — KubeVision validates connectivity before saving
Removing a Cluster
- Go to Settings → Clusters
- Find the cluster row and click the Delete icon
- Confirm the dialog
Removing a cluster deletes all cached resource data for that cluster. Audit logs and favorites referencing it are retained.
Switching Between Clusters
Use the cluster selector in the top navigation bar to switch the active cluster. Every resource list, search result, and topology view scopes to the selected cluster unless you explicitly choose "All Clusters".
Cluster Health Status
The sidebar shows a live health badge next to each cluster name:
| Badge | Meaning |
|---|---|
| Green dot | API Server reachable, informer connected |
| Yellow dot | Degraded — partial connectivity or stale cache |
| Red dot | Unreachable — all reads fall back to cached data |
Health is checked every 30 seconds via a lightweight GET /healthz probe against the API Server.
Related
- Global Search — Search across all clusters at once
- Cross-Cluster Diff — Compare resources between clusters
- Configuration — Kubeconfig path and TLS settings