# Launching an GKE cluster

Below we describe how we can launch and use Kontain in a Google GKE (Kubernetes) cluster.

# Starting up an GKE cluster

# Pre-requisites

Take the following steps to enable the Kubernetes Engine API:

# Create cluster using Kontain helper script

Download helper script and make sure it is executable

curl -o gce-cluster.sh https://raw.githubusercontent.com/kontainapp/k8s-deploy/master/helpers/gce-cluster.sh
chmod +x gce-cluster.sh

Run script using your credentials. Make sure to set region and prefix to your desired values. The script will create AKS cluster with the name <prefix>-gce-cluster. All other associated recource names are prefixed with <prefix>.

gce-cluster.sh  --project=<you rproject id> <prefix>

# Verify your cluster was created

gcloud container clusters list

# Enable and Test Kontain Runtime

Please refer to: Install Kontain in Kubernetes

# Clean up

To delete cluster and all associated resources use the following

gce-cluster.sh  <prefix> --cleanup