MENU

Fun & Interesting

How to create a Google Kubernetes Engine Cluster in GCP with Terraform

CODE MENTAL 8,404 4 years ago
Video Not Working? Fix It Now

#gke #terraform #kubernetes #gcp In this episode of our series, I show you how to create a cluster in Google Cloud Platform with Terraform in GCP. Signup to Google Cloud with the link below and get $350 free money to spend! I will get some credit on my own GCP account. This is a small way in which you can support the channel! https://gcpsignup.page.link/Euy3 TIMESTAMPS 0:00 - INTRODUCTION 1:00 - Installing Terraform on Windows 10 using Window Subsystem for Linux 2:10 - Creating a service account in GCP for use with Terraform 3:36 - Downloading Key for Service Account Key in JSON format 5:00 - Adding GCP provider to Terraform 7:00 - Creating variables.tf file 9:00 Creating providers.tf file 10:00 Adding Google Kubernetes Engine provider 11:30 Cluster Regional or Zonal - understanding settings 14:00 Setting ip_range_pods and ip_range_services to empty(Need to set to empty string) 15:30 Setting GKE Default Pool name 17:00 Setting service account name for use with GKE 18:30 Setting initial and maximum number of nodes for autoscaling 20:00 Running "terraform plan" 22:41 Running "terraform apply" 24:00 Destroying the cluster with "terraform destroy"

Comment