Skip to content

Latest commit

 

History

History
96 lines (67 loc) · 3.54 KB

File metadata and controls

96 lines (67 loc) · 3.54 KB

terraform-polkadot-do-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-do-k8s"

}

Examples

Known Issues

No issue is creating limit on this module.

Requirements

No requirements.

Providers

Name Version
digitalocean n/a

Inputs

Name Description Type Default Required
cluster_autoscale Do you want the cluster's worker pool to autoscale? bool false no
cluster_autoscale_max_workers Maximum number of workers in worker pool number 1 no
cluster_autoscale_min_workers Minimum number of workers in worker pool number 1 no
cluster_name Name of the k8s cluster string "cluster" no
do_k8s_version Version of k8s to use - run doctl kubernetes options versions to find latest string "1.16.6-do.2" no
environment The environment string "" no
namespace The namespace to deploy into string "" no
network_name The network name, ie kusama / mainnet string "" no
num_workers Number of workers for worker pool number 1 no
owner Owner of the infrastructure string "" no
stage The stage of the deployment string "" no
worker_instance_type Instance type for workers string "s-2vcpu-4gb" no
zone The DO zone to deploy in string "nyc1" no

Outputs

Name Description
cluster_ca_cert The base64 encoded public certificate for the cluster's certificate authority
cluster_client_certificate The base64 encoded public certificate used by clients to access the cluster
cluster_client_key The base64 encoded private key used by clients to access the cluster
cluster_subnet The range of IP addresses in the overlay network of the Kubernetes cluster
endpoint The base URL of the API server on the Kubernetes master node
id A unique ID that can be used to identify and reference a Kubernetes cluster
kube_config The full contents of the Kubernetes cluster's kubeconfig file
public_ip The public IPv4 address of the Kubernetes master node
service_subnet The range of assignable IP addresses for services running in the Kubernetes cluster
token The cluster access token

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.