Difference between revisions of "Deploy GKE cluster using Terraform"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
+ resource "[[google_container_cluster]]" "primary" { | + resource "[[google_container_cluster]]" "primary" { | ||
+ resource "[[google_container_node_pool]]" "primary_nodes" { | + resource "[[google_container_node_pool]]" "primary_nodes" { | ||
+ | |||
+ | [[terraform apply]] | ||
== Related == | == Related == |
Revision as of 18:32, 30 October 2022
git clone https://github.com/hashicorp/learn-terraform-provision-gke-cluster cd learn-terraform-provision-gke-cluster
terraform plan (GKE using Terraform)
terraform plan | grep -w resource + resource "google_compute_network" "vpc" { + resource "google_compute_subnetwork" "subnet" { + resource "google_container_cluster" "primary" { + resource "google_container_node_pool" "primary_nodes" {
terraform apply
Related
See als
- Deploy GKE cluster using Terraform,
addons_config, gke.tf, google_container_cluster, google_container_node_pool
- GKE, GKE Autopilot,
gcloud container, gke-gcloud-auth-plugin
, GKE release channels, GKE Ingress, GCP Node logs, GCP Node logs severity Error, GKE roles, Provide access to GKE cluster, Deploy GKE cluster using Terraform,cluster_autoscaling, addons_config, GKE Node Pool
, node auto-provisioning
Advertising: