How to Create GKE Cluster Using TERRAFORM? (Google Kubernetes Engine & Workload Identity)

preview_player
Показать описание

▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
► I’m a Senior Software Engineer at Juniper Networks (12+ years of experience)
► Located in San Francisco Bay Area, CA (US citizen)

▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬

▬▬▬▬▬▬ Related videos 👨‍🏫 ▬▬▬▬▬▬

=========
⏱️TIMESTAMPS⏱️
0:00 Intro
0:35 Setup Terraform GCP Provider
1:27 Configure Terraform GCS Backend
2:37 Create VPC in GCP using Terraform
3:32 Create Subnet in GCP using Terraform
4:59 Create Cloud Router in GCP using Terraform
5:50 Create Cloud NAT in GCP using Terraform
6:35 Create Firewall in GCP using Terraform
7:05 Create GKE Cluster Using Terraform
10:55 Create GKE Node Pools using Terraform
12:54 Apply Terraform
15:05 GKE Autoscaling Demo (Example 1)
16:16 GKE Workload Identity Tutorial (Example 2)
19:32 Deploy Nginx Ingress Controller on GKE (Example 3)

=========
Source Code

#GKE #GCP #DevOps
Рекомендации по теме
Комментарии
Автор

⏱️TIMESTAMPS⏱️
0:00 Intro
0:35 Setup Terraform GCP Provider
1:27 Configure Terraform Backend GCS
2:37 Create GCP VPC Using Terraform
3:32 Create GCP Subnets Using Terraform
4:59 Create GCP Cloud Router Using Terraform
5:50 Create GCP Cloud NAT Using Terraform
6:35 Create GCP Firewall Using Terraform
7:05 Create GKE Cluster Using Terraform
10:55 Create GKE Node Pools Using Terraform
12:54 Apply Terraform
15:05 GKE Autoscaling Demo (Example 1)
16:16 GKE Workload Identity Tutorial (Example 2)
19:32 Deploy Nginx Ingress Controller on GKE (Example 3)

AntonPutra
Автор

Excellent video for GKE with Terraform. Best in youtube

arshsingal
Автор

This is super awesome!!! Anton, thank you for all you do.

davidessien
Автор

Great video, very helpful!
Would love to see how to deploy these deployments with helm using the terraform.

dor
Автор

Anton amazing content as always...i subscribed you since you have under 1000 subscriber :)

piyushdarji
Автор

Thank you for the workload Identity part

DesmondMuyukha
Автор

Very informative. I tried to create a GKE Auto Pilot cluster with a shared VPC private network through terraform, assigned necessary GKE service account permissions, and make sure the control plane, node, ranges IP range and the location are aligned correctly as per the GCP GKE documentation. But stuck with this exception again and again, 'Error: Error waiting for creating GKE cluster: All cluster resources were brought up, but: only 0 nodes out of 1 have registered; cluster may be unhealthy.' Pls share if there is any suggestions to troubleshoot this error ??

Deevg-fe
Автор

Clear in-life usage explanation, thank you!

Also, thank you for your position on Ukraine

qqwwqew
Автор

Hi Anton, thank you for your very helpful video!
Question: near the beginning you say "...create a VPC from scratch with Terraform, or you can plugin values from existing network". Is this a way to get Terraform control existing networks as well? And can you do the same with all/most infrastructure? I am trying to understand how one can get existing infra under control of Terraform. Greetings from Hollland!

annedatema
Автор

great video, thank you!
do you happen to have a tutorial about GKE with Managed SSL Certificate?

ShaiCohen-nx
Автор

Thank you so much for your video, it really helped me with my infra. I have one question - you disabled http load balancing addon for cluster, but for google managed ssl certificate I need to enable it. Now I have probably two load balancers - one I just enabled and second one is nginx ingress. Do you see any potential problem with this setup ?

Quadman
Автор

Hi,
Thanks for the video I am very new to terraform and gke.
Could you please tell what are the roles and permissions required to create vpc subnetworks etc.

Thank you

neppalivasanthalakshmi
Автор

Hi, could you go into a bit more details on why you created two separate node pools?

joaoferreira
Автор

I apply ingress. but

0/2 nodes are available: 1 Insufficient cpu, 1 node(s) had untolerated taint {instance_type: spot}. preemption: 0/2 nodes are available: 1 No preemption victims found for incoming pod, 1 Preemption is not helpful for scheduling.

how to fix it?

てん-nye
Автор

Walker Steven Martinez Daniel Brown Michelle

GrayArno
Автор

Davis Richard Miller Larry Wilson Robert

GrayArno
join shbcf.ru