consul-ent-k8s
hashicorp/consul-ent-k8s/gcp
A Terraform Module for provisioning an Enterprise Consul cluster on GKE as described by HashiCorp reference architecture.
Consul Enterprise on GKE Module This is a Terraform module for provisioning two federated Consul Enterprise clusters on GKE using Consul version 1.11.15+. How to Use This Module - Ensure your GCP credentials are configured correctly and have permission to use the following GCP services: - Kubernetes Engine API - Secret Manager API - Install kubectl (this will be used to verify Consul cluster federation status). - To update the kubeconfig context with your current cluster, run: ``shell $ gcloud container clusters get-credentials CLUSTER_NAME ` - This module assumes you have an existing VPC and two existing GKE clusters, as well as a GCP secrets manager available for storing Consul federation secrets. If you do not, you may use the following quickstart to deploy these resources. - If you wou
| Name | Type | Description | Default |
|---|---|---|---|
| cluster_name | string | Kubernetes cluster name on which to install Consul | required |
| consul_license | string | Path to your Consul license file | required |
| federation_secret_id | string | Secret id/name given to the google secrets manager secret for the Consul federat | required |
| cluster_location | string | Kubernetes cluster region | required |
| primary_datacenter | bool | If true, installs Consul with a primary datacenter configuration. Set to false f | required |
| kubernetes_namespace | string | The namespace to install the release into | "consul" |
| server_replicas | number | The number of Consul server replicas | 5 |
| consul_version | string | Version of Consul Enterprise to install | "1.11.5" |
| create_namespace | bool | Create the k8s namespace if it does not yet exist | true |
| chart_name | string | Chart name to be installed | "consul" |
| chart_repository | string | Repository URL where to locate the requested chart | "https://helm.releases.hashicorp.com" |
| consul_helm_chart_version | string | Version of Consul helm chart | "0.41.0" |
| release_name | string | The helm release name | "consul-release" |