Skip to content

Latest commit

 

History

History

simple_zonal_with_asm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Simple Zonal Cluster with ASM

This example illustrates how to create a simple zonal cluster with ASM.

Inputs

Name Description Type Default Required
ip_range_pods The secondary ip range to use for pods any n/a yes
ip_range_services The secondary ip range to use for services any n/a yes
network The VPC network to host the cluster in any n/a yes
project_id The project ID to host the cluster in any n/a yes
region The region to host the cluster in any n/a yes
subnetwork The subnetwork to host the cluster in any n/a yes
zones The zone to host the cluster in (required if is a zonal cluster) list(string) n/a yes

Outputs

Name Description
ca_certificate n/a
client_token n/a
cluster_name Cluster name
identity_namespace n/a
ip_range_pods The secondary IP range used for pods
ip_range_services The secondary IP range used for services
kubernetes_endpoint n/a
location n/a
master_kubernetes_version The master Kubernetes version
network n/a
project_id n/a
region n/a
service_account The default service account used for running nodes.
subnetwork n/a
zones List of zones in which the cluster resides

To provision this example, run the following from within this directory:

  • terraform init to get the plugins
  • terraform plan to see the infrastructure plan
  • terraform apply to apply the infrastructure build
  • terraform destroy to destroy the built infrastructure