Prerequisites

Setup the cluster-admin role

Role-Based Access Control is enabled by default for GKE clusters running Kubernetes 1.6. The Weave Cloud Agents require elevated permissions which your user account will not be able to grant without additional configuration.

Create a Cluster Role Binding for your user by running kubectl create clusterrolebinding [binding-name] --clusterrole=cluster-admin --user=[your-gke-email-address]. The binding-name can be anything you like, for example gke-admin.

Create Weave Cloud instance

Visit Weave Cloud and Create New Instance if you have not already. Choose the “I have an existing Kubernetes cluster” option and run the command as shown.

After a few moments your cluster should be successfully connected to Weave Cloud.