Skip to content

Latest commit

 

History

History
84 lines (58 loc) · 2.75 KB

File metadata and controls

84 lines (58 loc) · 2.75 KB

terraform-polkadot-gcp-k8s

open-issues open-pr build-status

Features

This module...

Terraform Versions

For Terraform v0.12.0+

Usage

module "this" {
    source = "github.com/insight-w3f/terraform-polkadot-gcp-k8s"

}

Examples

Known Issues

No issue is creating limit on this module.

Providers

Name Version
google n/a
local n/a
template n/a

Inputs

Name Description Type Default Required
cluster_autoscale Do you want the cluster's worker pool to autoscale? bool true no
cluster_autoscale_max_workers Maximum number of workers in worker pool number 10 no
cluster_autoscale_min_workers Minimum number of workers in worker pool number 0 no
cluster_name Name of the k8s cluster string "cluster" no
kubernetes_subnet Subnet to connect cluster to any n/a yes
num_workers Number of workers for worker pool number 1 no
project The GCP project string n/a yes
region The GCP region to deploy in string "us-east1" no
vpc_name Name of the GCE VPC to connect to cluster string n/a yes
worker_instance_type Instance type for workers string "n1-standard-1" no

Outputs

Name Description
cluster_ca_cert The base64 encoded public certificate for the cluster's certificate authority
cluster_name The name of the cluster
endpoint The base URL of the API server on the Kubernetes master node
kube_config The full contents of the Kubernetes cluster's kubeconfig file

Testing

This module has been packaged with terratest tests

To run them:

  1. Install Go
  2. Run make test-init from the root of this repo
  3. Run make test again from root

Authors

Module managed by Richard Mah

Credits

License

Apache 2 Licensed. See LICENSE for full details.