Skip to content

Vizir/terraform-gke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes module

Setup a regional kubernetes cluster on Google Kubernetes Engine.

Requirements

  • This module uses Terraform 0.11.X
  • To enable istio you must install:
  • To enable ambassador you must install:
  • To enable helm you must install:

Inputs

Name Description Type Default Required
ambassador_load_balancer_ip Static IP to assign to the LoadBalancer created for Ambassador string "" no
ambassador_version Ambassador version to install when enable_ambassador = true string "0.40.2" no
cluster_name Google Kubernetes Engine cluster name string n/a yes
daily_maintenance_window Cluster maintenance window string "03:00" no
enable_ambassador Installs Ambassador API Gateway string "false" no
enable_helm_tiller Installs Helm Tiller string "false" no
enable_horizontal_pod_autoscaling_addon Enable Kubernetes HPA addon string "true" no
enable_http_load_balancing_addon Enable GCP Load balancer addon string "true" no
enable_istio_addon Enable Istio (service mesh) addon string "false" no
istio_config_mtls Istio multual tls configuration. Possible values are MTLS_STRICT or MTLS_PERMISSIVE string "MTLS_PERMISSIVE" no
kubernetes_version Kubernetes version. Possible values are latest or a specific version string "latest" no
logging_service Stackdriver logging service name. Possible values are logging.googleapis.com or logging.googleapis.com/kubernetes (beta) string "logging.googleapis.com" no
master_authorized_networks_config Master authorized networks config. Docs: https://www.terraform.io/docs/providers/google/r/container_cluster.html#master_authorized_networks_config list <list> no
master_ipv4_cidr_block Master CIDR block. This range should not overlap any other ranges in the cluster network string "192.168.0.0/28" no
monitoring_service Stackdriver logging service name. Possible values are monitoring.googleapis.com or monitoring.googleapis.com/kubernetes (beta) string "monitoring.googleapis.com" no
network Network to which the cluster is connected string n/a yes
node_pools List of node pools. Attributes: name (required), min_node_count, max_node_count, disk_type, disk_size, machine_type, preemptible, service_account list <list> no
nodes_locations Zones that the cluster nodes will run list <list> no
pods_secondary_ip_range_name Secondary ip range will be used for Pods IPs string n/a yes
project GCP ProjectId string "" no
region Region to create the cluster string n/a yes
services_secondary_ip_range_name Secondary ip range will be used for Services IPs string n/a yes
subnetwork Subnetwork to which the cluster is connected string n/a yes

Outputs

Name Description
cluster_endpoint Cluster endpoint ip
cluster_name Cluster name
master_auth_cluster_ca_certificate Master CA certificate
nodes_network_tag Network tag that will be applied to every node

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published