add gke import tips

This commit is contained in:
Daishan Peng
2018-06-19 14:34:51 -07:00
parent 766a5301eb
commit e22fb57c74

View File

@@ -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**.