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

  Рет қаралды 35,382

Anton Putra

Anton Putra

Күн бұрын

Пікірлер: 55
@AntonPutra
@AntonPutra Жыл бұрын
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@arshsingal65
@arshsingal65 Жыл бұрын
Excellent video for GKE with Terraform. Best in youtube
@AntonPutra
@AntonPutra Жыл бұрын
Thanks!!!
@AntonPutra
@AntonPutra 2 жыл бұрын
⏱️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)
@davidessien3617
@davidessien3617 2 жыл бұрын
This is super awesome!!! Anton, thank you for all you do.
@AntonPutra
@AntonPutra 2 жыл бұрын
Glad you enjoy it!
@piyushdarji7926
@piyushdarji7926 2 жыл бұрын
Anton amazing content as always...i subscribed you since you have under 1000 subscriber :)
@AntonPutra
@AntonPutra 2 жыл бұрын
Awesome, thank you!
@lalitkharat4640
@lalitkharat4640 Жыл бұрын
Superb Content👍👍
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@fabiandirico7260
@fabiandirico7260 Жыл бұрын
Excelente!!! muchas gracias!
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@ukr_devops
@ukr_devops Жыл бұрын
Brilliant content. Thank you, Anton
@AntonPutra
@AntonPutra Жыл бұрын
Thanks Serhii!
@DesmondMuyukha
@DesmondMuyukha 2 жыл бұрын
Thank you for the workload Identity part
@AntonPutra
@AntonPutra 2 жыл бұрын
Welcome Desmond
@dor961
@dor961 2 жыл бұрын
Great video, very helpful! Would love to see how to deploy these deployments with helm using the terraform.
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks!
@diegonayalazo
@diegonayalazo 2 ай бұрын
Thanks
@AntonPutra
@AntonPutra 2 ай бұрын
my pleasure!
@qqwwqew
@qqwwqew 2 жыл бұрын
Clear in-life usage explanation, thank you! Also, thank you for your position on Ukraine
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks!
@technologytheoryhandson863
@technologytheoryhandson863 2 жыл бұрын
Thank you for the great content...
@AntonPutra
@AntonPutra 2 жыл бұрын
My pleasure!
@eslamali6516
@eslamali6516 7 ай бұрын
thank you
@AntonPutra
@AntonPutra 7 ай бұрын
welcome, i'll refresh it soon
@eslamali6516
@eslamali6516 7 ай бұрын
@@AntonPutra 🙏
@annedatema9391
@annedatema9391 Жыл бұрын
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!
@AntonPutra
@AntonPutra Жыл бұрын
You have 3 options. 1. Create infra (VPC) from scratch using Terraform 2. Import existing infra (VPC) with "terraform import ..." command. In that way the code will be the same 3. You can use "data" terraform resources to reference exiting infrastructure (such as VPC) and use "data.aws_vpc.main.id" instead of "resource.aws_vpc.main.id" when you need to reference in another resource. My advise would be to Import existing infra to Terraform or create from scratch
@annedatema9391
@annedatema9391 Жыл бұрын
@@AntonPutraThank you! I think beginning from scratch is best method for me. Because it is an easier learning curve than already trying to import into TF. Again, thank you for your help :)
@AntonPutra
@AntonPutra Жыл бұрын
@@annedatema9391 any time
@ShaiCohen-n3x
@ShaiCohen-n3x 11 ай бұрын
great video, thank you! do you happen to have a tutorial about GKE with Managed SSL Certificate?
@AntonPutra
@AntonPutra 11 ай бұрын
thanks! unfortunately i don't
@Quadman4853
@Quadman4853 2 жыл бұрын
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 ?
@AntonPutra
@AntonPutra 2 жыл бұрын
Sorry for the late response, no you can have multiple load balancers. Will create soon tutorial for native gke load balancing with that addon
@Quadman4853
@Quadman4853 2 жыл бұрын
@@AntonPutra Thank you!
@neppalivasanthalakshmi8407
@neppalivasanthalakshmi8407 Жыл бұрын
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
@AntonPutra
@AntonPutra Жыл бұрын
start with admin =)
@Deevg-f9e
@Deevg-f9e 11 ай бұрын
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 ??
@naniviaa
@naniviaa 2 жыл бұрын
thanks for the content!
@AntonPutra
@AntonPutra 2 жыл бұрын
My pleasure!
@joaoferreira3179
@joaoferreira3179 Жыл бұрын
Hi, could you go into a bit more details on why you created two separate node pools?
@AntonPutra
@AntonPutra Жыл бұрын
one of them spot (can be terminated at any time by aws but cheaper) another one regular. If you app can resist restarts you can use spot or mixed group.
@sigma-yn3qd
@sigma-yn3qd 2 жыл бұрын
Bro thanks for the content
@AntonPutra
@AntonPutra 2 жыл бұрын
No problem 👍
@mikhailsh8916
@mikhailsh8916 2 жыл бұрын
🤩
@AntonPutra
@AntonPutra 2 жыл бұрын
welcome :)
@てん-n5y4e
@てん-n5y4e Жыл бұрын
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?
@AntonPutra
@AntonPutra Жыл бұрын
Make sure that this node group does not have taints and increase the instance family - github.com/antonputra/tutorials/blob/main/lessons/108/terraform/8-node-pools.tf#L19
@AntonPutra
@AntonPutra Жыл бұрын
👉 How to Manage Secrets in Terraform - kzbin.info/www/bejne/aX-TpXqBrNt1mqM 👉 Terraform Tips & Tricks - kzbin.info/www/bejne/bYScZaKLid5lsJY 👉 ArgoCD Tutorial - kzbin.info/www/bejne/sHjRlZqafMZkisU
@GrayArno
@GrayArno 4 ай бұрын
Walker Steven Martinez Daniel Brown Michelle
@AntonPutra
@AntonPutra 4 ай бұрын
??
@GrayArno
@GrayArno 4 ай бұрын
Davis Richard Miller Larry Wilson Robert
@AntonPutra
@AntonPutra 4 ай бұрын
??
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Terraform GCP Tutorial (Getting Started with Google Cloud Platform)
45:31
Secure access to GKE workloads with Workload Identity
6:34
Google Cloud Tech
Рет қаралды 17 М.
How To Structure Terraform Project (3 Levels)
41:21
Anton Putra
Рет қаралды 19 М.
Create GKE Cluster using Terraform
9:25
Anton Putra
Рет қаралды 2,1 М.
Terragrunt Tutorial: Create VPC, EKS from Scratch!
1:01:09
Anton Putra
Рет қаралды 50 М.
MongoDB vs. PostgreSQL: Performance & Functionality
14:35
Anton Putra
Рет қаралды 35 М.
Redis vs Memcached Performance Benchmark
8:44
Anton Putra
Рет қаралды 33 М.