Skip to content
hannctl
PDF

labs pf-02.md

pf-02-gcp-terraform-gke-platform

v1.0.0 released · CI passing GCP Terraform Personal project · released Nov 2026

A module set that keeps capacity during GKE node pool upgrades with SURGE, and opens only what a VPN needs through a firewall baseline, all as code.

  • Terraform
  • GCP
  • GKE
  • Cloud Logging
  • Cloud Monitoring
22
Terraform modules
5
Extra nodes first (max_surge)
0
Nodes down at once (max_unavailable)

Approach

The node pool upgrades with SURGE: five new nodes come up first and unavailable stays at zero. The c2sfirewall module opens management ports from the VPN at priority 1000 and denies other tcp and udp outbound at priority 65534.

View on GitHub ↗
Open the case: case-studies/gcp-terraform/README.md →

© 2026 Kim JunHyun · Built with Astro · The infrastructure behind this site is code too

↑↓ move · Enter open · Esc close

Choose a theme

Click a badge to switch to that theme on the same content. Dragging only swings it.

Back to the front page →