kubernetes-engine

google-terraform-modules/kubernetes-engine/google

Terraform Module HCL GOOGLE

Create a Google Kubernetes Engine cluster

Install
module "kubernetes-engine" {
source = "google-terraform-modules/kubernetes-engine/google"
version = "1.19.1"
}
plain text: /constructs/tfmod-google-terraform-modules-kubernetes-engine-google/install.txt
⭐ Source on GitHub 📦 Registry page
README

Google Kubernetes Engine (GKE) cluster Compatible provider 1.19.1 (stable) Examples 1 cluster, 1 default node pool (2 nodes (10GB/node) n1-standard-1), latest version of Kubernetes for each node, Default Google network (default). ``hcl module "gke-cluster" { source = "google-terraform-modules/kubernetes-engine/google" version = "1.19.1" general = { name = "mycluster" env = "prod" zone = "europe-west1-b" } master = {} } ` 1 cluster, 1 default node pool (3 nodes & n1-standard-1), 2 extra node pool & latest version of Kubernetes for each node, Custom Google network. `hcl module "gke-cluster" { source = "google-terraform-modules/kubernetes-engine/google" version = "1.19.1" general = { name = "mycluster" env = "prod" zone = "europe-west1-b" } master = { network = "${google_compute_network.vpc.s

Inputs (9)
NameTypeDescriptionDefault
masteranyKubernetes master parameters to initialize required
generalanyGlobal parameters required
default_node_poolanyDefault pool setting{}
node_poolanyNode pool setting to create[]
tagsanyThe list of instance tags applied to all nodes. Tags are used to identify valid []
labelsanyThe Kubernetes labels (key/value pairs) to be applied to each node{}
metadataanyThe metadata key/value pairs assigned to instances in the cluster{}
ip_allocation_policyanyConfiguration for cluster IP allocation. As of now, only pre-allocated subnetwor[]
node_additional_zonesanyThe list of additional Google Compute Engine locations in which the cluster's no[]
Outputs (8)
master_version — The current version of the master in the cluster.
endpoint — The IP address of this cluster's Kubernetes master
instance_group_urls — List of instance group URLs which have been assigned to the cluster
maintenance_window — Duration of the time window, automatically chosen to be smallest possible in the given scenario. Dur
client_key — Base64 encoded private key used by clients to authenticate to the cluster endpoint
cluster_ca_certificate — Base64 encoded public certificate that is the root of trust for the cluster
cluster_name — The full name of this Kubernetes cluster
gcr_url — This data source fetches the project name, and provides the appropriate URLs to use for container re
Resources (2)
google_container_clustergoogle_container_node_pool
Details
FrameworkTerraform Module
LanguageHCL
Version1.19.1
Cloud GOOGLE
★ Stars42
Forks25
Total downloads8.0k
Inputs9
Outputs8
Resources2
LicenseMIT
Namespacegoogle-terraform-modules
Updated