1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/docs/clusters/adding-clusters.md
pauljwil 973ff66a9f
Written content edits to Clusters and Getting Started (#1204)
* Updated written content in Getting started and Clusters

* Updated written content in index.md, downloading-lens.md, and removing-clusters.md

* Fixed links to /clusters/adding-clusters.md

* Removed .md from links to /clusters/adding-clusters.md in index.md and downloading-lens.md

* Fixed links to adding-clusters.md in index.md and downloading-lens.md

Co-authored-by: Paul Williams <pawilliams@mirantis.com>
2020-11-03 21:25:08 +00:00

16 lines
1001 B
Markdown

# Adding clusters
Add clusters by clicking the **Add Cluster** button in the left-side menu.
1. Click the **Add Cluster** button (indicated with a '+' icon).
2. Enter the path to your kubeconfig file. You'll need to have a kubeconfig file for the cluster you want to add. You can either browse for the path from the file system or or enter it directly.
Selected [cluster contexts](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) are added as a separate item in the left-side cluster menu to allow you to operate easily on multiple clusters and/or contexts.
**NOTE**: Any cluster that you added manually will not be merged into your kubeconfig file.
![Add Cluster](images/add-cluster.png)
For more information on kubeconfig see [Kubernetes docs](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/).
To see your currently-enabled config with `kubectl`, enter `kubectl config view --minify --raw` in your terminal.