Skip to content

Terraspace Google GKE Cluster Example

License

Notifications You must be signed in to change notification settings

boltops-learn-docs/terraspace-google-gke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: This repo contains only the documentation for the private BoltsOps repo code. Original file: https://github.com/boltops-learn/terraspace-google-gke/blob/master/README.md The docs are publish so they are available for interested subscribers. For access to the source code, you can become a BoltOps subscriber. See: https://learn.boltops.com

Terraspace Google GKE Kubernetes Cluster

BoltOps Badge

This code creates a simple Google GKE Kubernetes cluster. It's meant to be a good starting point for learning and understanding how the Terraform google_container_cluster resource works.

For testing it uses preemptible nodes and is a zonal cluster. It can be changed with app/stacks/gke/tfvars/dev.tfvars.

Terraspace Docs: Tfvars & Layering

Env Vars

You should configure these env vars:

  • GOOGLE_PROJECT
  • GOOGLE_REGION

Deploy

To deploy:

terraspace up gke

Video

This module was used to create the cluster in this video:

Watch the video

Releases

No releases published

Packages

No packages published