gke
gruntwork-io/gke/google
Terraform code and scripts for deploying a Google Kubernetes Engine (GKE) cluster.
  !Terraform Version Google Kubernetes Engine (GKE) Module This repo contains a Terraform module for running a Kubernetes cluster on Google Cloud Platform (GCP) using Google Kubernetes Engine (GKE). Quickstart If you want to quickly spin up a GKE Public Cluster, you can run the example that is in the root of this repo. Check out the gke-basic-helm example documentation for instructions. What's in this repo This repo has the following folder structure: - root: The root folder contains an example of how to deploy a GKE Public Cluster with an example chart with Helm. See gke-basic-helm for the documentation. - modules: This
| Name | Type | Description | Default |
|---|---|---|---|
| region | string | The region for the network. If the cluster is regional, this must be the same re | required |
| location | string | The location (region or zone) of the GKE cluster. | required |
| project | string | The project ID where all resources will be launched. | required |
| public_services_secondary_cidr_block | string | The IP address range of the VPC's public services secondary address range in CID | required |
| private_services_secondary_cidr_block | string | The IP address range of the VPC's private services secondary address range in CI | required |
| vpc_cidr_block | string | The IP address range of the VPC in CIDR notation. A prefix of /16 is recommended | "10.3.0.0/16" |
| public_services_secondary_range_name | string | The name associated with the services subnetwork secondary range, used when addi | "public-services" |
| vpc_secondary_cidr_block | string | The IP address range of the VPC's secondary address range in CIDR notation. A pr | "10.4.0.0/16" |
| cluster_service_account_description | string | A description of the custom service account used for the GKE cluster. | "Example GKE Cluster Service Account man |
| public_subnetwork_secondary_range_name | string | The name associated with the pod subnetwork secondary range, used when adding an | "public-cluster" |
| secondary_cidr_subnetwork_width_delta | number | The difference between your network and subnetwork's secondary range netmask; an | 4 |
| cluster_name | string | The name of the Kubernetes cluster. | "example-cluster" |
| master_ipv4_cidr_block | string | The IP range in CIDR notation (size must be /28) to use for the hosted master ne | "10.5.0.0/28" |
| secondary_cidr_subnetwork_spacing | number | How many subnetwork-mask sized spaces to leave between each subnetwork type's se | 0 |
| cluster_service_account_name | string | The name of the custom service account used for the GKE cluster. This parameter | "example-cluster-sa" |
| kubectl_config_path | string | Path to the kubectl config file. Defaults to $HOME/.kube/config | "" |
cluster_endpoint — The IP address of the cluster master.client_certificate — Public certificate used by clients to authenticate to the cluster endpoint.client_key — Private key used by clients to authenticate to the cluster endpoint.cluster_ca_certificate — The public certificate that is the root of trust for the cluster.