Merge pull request #322 from StrongMonkey/fix-import

add gke import tips
This commit is contained in:
Denise
2018-06-19 15:03:11 -07:00
committed by GitHub
@@ -2,8 +2,14 @@
title: Importing a Cluster
weight: 3400
---
You can import an existing Kubernetes cluster and then manage it using Rancher.
>**Prerequisites:**
>
>- If your existing Kubernetes cluster already has a `cluster-admin` role defined, you must have this `cluster-admin` privilege to import the cluster into Rancher. In order to apply the privilege, you need to run `kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user [USER_ACCOUNT]` before running the `kubectl` command to import the cluster.
>- By default, GKE users are not given this privilege, so you will need to run the command before importing GKE clusters. To learn more about GKE RBAC, please click [here](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
1. From the **Clusters** page, click **Add Cluster**.
2. Choose **Import**.