Skip to content

Commit 7019fee

Browse files
author
Denise
authored
Merge pull request #322 from StrongMonkey/fix-import
add gke import tips
2 parents 766a530 + 130dfca commit 7019fee

File tree

1 file changed

+6
-0
lines changed
  • content/rancher/v2.x/en/tasks/clusters/import-cluster

1 file changed

+6
-0
lines changed

content/rancher/v2.x/en/tasks/clusters/import-cluster/_index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22
title: Importing a Cluster
33
weight: 3400
44
---
5+
56
You can import an existing Kubernetes cluster and then manage it using Rancher.
67

8+
>**Prerequisites:**
9+
>
10+
>- 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.
11+
>- 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).
12+
713
1. From the **Clusters** page, click **Add Cluster**.
814

915
2. Choose **Import**.

0 commit comments

Comments
 (0)