From 05d2c1d284d0c32436a196271ab670468658fe43 Mon Sep 17 00:00:00 2001 From: tamal Date: Thu, 12 Apr 2018 09:30:36 -0700 Subject: [PATCH] Add RBAC instructions for GKE cluster --- docs/setup/install.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/setup/install.md b/docs/setup/install.md index 9344acce7..ce079fdb3 100644 --- a/docs/setup/install.md +++ b/docs/setup/install.md @@ -104,6 +104,18 @@ $ helm install appscode/searchlight --name my-release ``` To see the detailed configuration options, visit [here](https://github.com/appscode/searchlight/tree/master/chart/searchlight). +### Installing in GKE Cluster + +If you are installing Searchlight on a GKE cluster, you will need cluster admin permissions to install Searchlight operator. Run the following command to grant admin permision to the cluster. + +```console +# get current google identity +$ gcloud info | grep Account +Account: [user@example.org] + +$ kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=user@example.org +``` + ## Verify installation To check if Searchlight operator pods have started, run the following command: