From e22fb57c74621d8fd352c9731dafb5259ec79cab Mon Sep 17 00:00:00 2001 From: Daishan Peng Date: Tue, 19 Jun 2018 14:34:51 -0700 Subject: [PATCH] add gke import tips --- .../rancher/v2.x/en/tasks/clusters/import-cluster/_index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/rancher/v2.x/en/tasks/clusters/import-cluster/_index.md b/content/rancher/v2.x/en/tasks/clusters/import-cluster/_index.md index fc1a9fd935d..d72f3a4803b 100644 --- a/content/rancher/v2.x/en/tasks/clusters/import-cluster/_index.md +++ b/content/rancher/v2.x/en/tasks/clusters/import-cluster/_index.md @@ -2,6 +2,11 @@ title: Importing a Cluster weight: 3400 --- + +### Requirements + +To be able to import the cluster, you must have the cluster-admin priviledge to run kubectl command. For GKE it doesn't give full priviledge by default. You can grant your user full priviledge access by running `kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user [USER_ACCOUNT]`. To learn more about GKE RBAC, please click [here](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control). + You can import an existing Kubernetes cluster and then manage it using Rancher. 1. From the **Clusters** page, click **Add Cluster**.