Gitlab CI /CD Deploy to GKE

This is a guide to create a Google Kubernetes cluster and configure Gitlab CI / CD to deploy your app to the cluster.

This assumes that you have a paid or trial Google Cloud account.

Creating a Kubernetes cluster

  1. Go to the Google Console.
  2. https://console.cloud.google.com/kubernetes
  3. Click “Create Cluster”.
  4. Fill in the name, description, location, zone. It’s a good idea to keep everything in the same location and zone so it can quickly communicate with…