Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kubeless Installation - GKE
$ gcloud container clusters create --cluster-version=1.9.7-gke.6 my-cluster --num-nodes 3 --zone us-central1-a
Creating cluster my-cluster...done.
kubeconfig entry generated for my-cluster.
NAME LOCATION MASTER_VERSION MASTER_IP MACHINE_TYPE NODE_VERSION NUM_NODES STATUS
my-cluster us-central1-a 1.9.7-gke.6 35.232.228.130 n1-standard-1 1.9.7-gke.6 3 RUNNING
$ kubectl create clusterrolebinding kubeless-cluster-admin --clusterrole=cluster-admin --user=<your gcp user-id>
clusterrolebinding.rbac.authorization.k8s.io "kubeless-cluster-admin" created
$ export RELEASE=$(curl -s https://api.github.com/repos/kubeless/kubeless/releases/latest | grep tag_name | cut -d '"' -f 4)
$kubectl create ns kubeless
namespace "kubeless" created
## use kubeless-$RELEASE as GKE is RBAC based.
$ kubectl create -f https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeless-$RELEASE.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.