How jayasurya5454/google-kubernetes-engine works
Project Type: Infrastructure as Code (IaC) project specifically focused on provisioning GKE clusters on Google Cloud Platform.
Infrastructure Layer Components
• GCP Cloud Platform (as the base infrastructure)
• VPC Network (from modules/networks)
• Subnets (from modules/networks)
• GKE Cluster (from modules/kubernetes)
• Both Autopilot and Standard cluster modes should be represented
Terraform Module Structure
• Root Module (dev/infra)
• Network Module
• Kubernetes Module
Component Representation
a. Terraform Configuration (Top Layer):
• It to two sub-modules: networks and kubernetes
b. GCP Resources (Middle Layer):
• Subnet configurations
• GKE cluster configurations
c. Infrastructure (Bottom Layer):
• Actual deployed resources
• Both cluster modes (Autopilot and Standard)
• Node pools (for Standard mode)
Specific Elements
• VPC configuration from modules/networks/vpc.tf
• Subnet configurations from modules/networks/subnets.tf
• Kubernetes cluster configuration from modules/kubernetes/kubernetes.tf
• Variable relationships between modules
Important Notes
• Distinction between Autopilot and Standard mode
• Network flow and security boundaries
• Variable inheritance between modules
Specific Recommendations: