anchor.diff:  title_tag_of_header: "Installing and Configuring GoCD on GKE using Helm | GoCD Blog"
   meta_description: "Installing and Configuring GoCD on GKE using Helm"
   meta_keywords: "configuring gocd, gke, helm, kubernetes, ci/cd"
  -tags: 
  +tags:
   draft: true
   ---
   <% content_for :banner do %>
  
positive.code: 1) First you have to set the correct context so that we are able to deploy GoCD in the correct cluster.
  
  ~~~
  gcloud container clusters get-credentials <CLUSTER-NAME> —- zone <ZONE-NAME> —- project <PROJECT-NAME>
  ~~~
  
  2) Once the correct context is set, [helm](https://helm.sh/) needs to be installed. If you don’t have it in your machine, install it using one of the many options that helm offers. Then helm needs to be installed on the cluster. This can be done as
  
negative.code: 
  You can create the cluster using multiple options. You can use
  
  * [google-cloud-sdk](https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-cluster)
  * GKE UI interface
  * [terraform](https://www.terraform.io/docs/providers/google/index.html)
  
  You can specify the zone, GKE master version, the machine type and number of nodes among other things as per your requirements. Remember to allocate enough vCPUs and RAM to run the GoCD server as well as the agents.
  
  