Skip to content

leavesster/learn-terraform-provision-gke-cluster

 
 

Repository files navigation

Learn Terraform - Provision a GKE Cluster

This repo is a companion repo to the Provision a GKE Cluster tutorial, containing Terraform configuration files to provision an GKE cluster on GCP.

This sample repo also creates a VPC and subnet for the GKE cluster. This is not required but highly recommended to keep your GKE cluster isolated.

配置

根据文档,配置 gcloud,安装 terraform,创建项目。 修改 terraform.tfvars 文件,填入项目 ID,和创建的 region。

project_id = <PROJECT_ID>
region     = <REGION>

TODO

  • 给 instance 配置 ssh,gcloud,kubectl 以及 kubeconfig

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%