This module...
For Terraform v0.12.0+
module "this" {
source = "github.com/insight-w3f/terraform-polkadot-do-k8s"
}
No issue is creating limit on this module.
No requirements.
Name | Version |
---|---|
digitalocean | n/a |
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 |
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 |
This module has been packaged with terratest tests
To run them:
- Install Go
- Run
make test-init
from the root of this repo - Run
make test
again from root
Module managed by Richard Mah
Apache 2 Licensed. See LICENSE for full details.