Тёмный
No video :(

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

CODE MENTAL
Подписаться 8 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@SchaibleZ
@SchaibleZ Год назад
this is seriously the best walk through that I've found!! Great work!
@CODEMENTAL
@CODEMENTAL Год назад
Thank you for the feedback!
@svsilence
@svsilence 2 года назад
really good explanation thank you, i can provision GKE without any problem
@brandonalvarez5600
@brandonalvarez5600 3 года назад
Thanks man this video helped me a lot!
@hemapatil3239
@hemapatil3239 3 года назад
Well Explained, thank you
@CODEMENTAL
@CODEMENTAL 3 года назад
Glad it was helpful!
@yuiyep6500
@yuiyep6500 Год назад
Thanks. really good VDO .
@matheussiqueira2027
@matheussiqueira2027 Год назад
Congratulations on the video. Is the code published on github?
@alexr6631
@alexr6631 Год назад
Thanks man! I have only one error with custom network and subnetrwork name. Changing these values to "default" helps.
@CODEMENTAL
@CODEMENTAL Год назад
That error us because you are missing a vpc. So default will be pointing to the default vpc
@user-tu7yt6fn2z
@user-tu7yt6fn2z 6 месяцев назад
Very informative. I tried to create a GKE auto mode cluster with a shared VPC network(private IP range), and assigned necessary IAM roles to the GKE hosted service project with (compute.engineadmin and container.admin roles). While provisioning the gke auto pilot cluster, getting this exception as " 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." Verified the logs for any key findings, but not helpful. Any thoughts/references on this error to troubleshoot ??
@CODEMENTAL
@CODEMENTAL 6 месяцев назад
Most likely an issue of connectivity between Control plane and nodes.
@sonergezgen8704
@sonergezgen8704 Год назад
Very Nice content, Thank you !! but however, I am struggling with Terraform Cloud. How can I place my credentials config file securely into terraform cloud? Or any other secure ways to authenticate me against GKE from terraform cloud?
@CODEMENTAL
@CODEMENTAL Год назад
I am not familiar with tetraform cloud. But it really depends on where your tertraform will run from. If it is from GCP you can always assign a permission to the service account assigned to the VM running tertraform. Or if you run it from gke you can use workload identify
@siddharthnaik6621
@siddharthnaik6621 3 месяца назад
very nice video but can u pls provide code for the benefit of users . there are multiple requests . Thanks in advance !!
@reparatur9862
@reparatur9862 2 года назад
Hi thank you for the Tutorial :). Can you help me please with this Erorr: Error: googleapi: Error 403: Required 'compute.zones.list' permission for 'projects/airflow-test-cluster', forbidden
@CODEMENTAL
@CODEMENTAL 2 года назад
Hello, you are missing a role from the user or service account that you are trying to use, which has the permission compute.zones.list. The problem you are describing looks similar to this stackoverflow problem: stackoverflow.com/questions/48232189/google-compute-engine-required-compute-zones-get-permission-error
@jideolaarowolo1692
@jideolaarowolo1692 2 года назад
do you have the code for this project in any repository like github?
@CODEMENTAL
@CODEMENTAL 2 года назад
I will try to upload this on the weekend.
@namacool1
@namacool1 Год назад
@@CODEMENTAL is there any update ?
@arunthokade3158
@arunthokade3158 Год назад
great work but provide the source code... make the code publicly available. if i want to copy it i cant.
@Furkan-gh2wl
@Furkan-gh2wl 2 года назад
Hi sir could you help me i am getting error
@CODEMENTAL
@CODEMENTAL 2 года назад
What error?
@Furkan-gh2wl
@Furkan-gh2wl 2 года назад
@@CODEMENTAL Error: Reference to undeclared input variable │ │ on main.tf line 5, in module "gke": │ 5: name = var.gcp_cluster_name │ │ An input variable with the name "gcp_cluster_name" has not been declared. Did you mean "gke_cluster_name"? ╵ ╷ │ Error: Reference to undeclared input variable │ │ on main.tf line 7, in module "gke": │ 7: regional = var.gke_regional │ │ An input variable with the name "gke_regional" has not been declared. Did you mean "gcp_regional"? i do and apply the same thing you did but i can't fix this error.
@Furkan-gh2wl
@Furkan-gh2wl 2 года назад
@@CODEMENTAL Error: Reference to undeclared resource │ │ on providers.tf line 9, in provider "kubernetes": │ 9: token = data.google_client_config.default.access_token │ │ A data resource "google_client_config" "default" has not been declared in the root module. ╵ and this error sir.thank you
@CODEMENTAL
@CODEMENTAL 2 года назад
You need to create the tfvars file, in the video I show how to do that. Also make sure you have downloaded the json with the credentials for gcp
Далее
🎙ПОЮ ВЖИВУЮ!
3:17:56
Просмотров 1,5 млн
Interacting with your Kubernetes workloads
15:08
Просмотров 15 тыс.
Set up Terraform to create a GKE cluster
1:04:42
Просмотров 2,9 тыс.
The cloud is over-engineered and overpriced (no music)
14:39
Terraform with GCP using cloud shell
17:22
Просмотров 1,4 тыс.
Creating a GKE cluster (demo)
14:03
Просмотров 40 тыс.