kubernetes
jaxxstorm/kubernetes/digitalocean
Terraform Module
HCL
DIGITALOCEAN
A terraform module for managing and creating a Kubernetes cluster on digital ocean
Install
module "kubernetes" {
source = "jaxxstorm/kubernetes/digitalocean"
version = "0.1.2"
}
README
Terraform Digital Ocean Kubernetes Module Create a Kubernetes cluster on Digital Ocean with Terraform Usage ``hcl variable "do_token" {} module "kubernetes_cluster" { source = "github.com/jaxxstorm/terraform-do-kubernetes" do_token = "${var.do_token}" do_region = "nyc1" cluster_name = "test" cluster_default_node_size = "s-1vcpu-2gb" cluster_default_node_count = 1 } ``
Inputs (9)
| Name | Type | Description | Default |
|---|---|---|---|
| cluster_version | string | The version of Kubernetes to install ithee cluster | required |
| cluster_default_node_count | string | The number of nodes in the default node pool in the cluster | required |
| cluster_name | string | The name of the Kubernetes cluster | required |
| do_region | string | The digital ocean region you'd like to deploy the cluster in | required |
| cluster_default_node_size | string | The size of the droplets in the default node pool in the cluster | required |
| do_token | string | Your digital ocean API token | required |
| cluster_tags | list | A list of optional tags to add to the cluster | [] |
| kubeconfig_path | string | The path to save the kubeconfig to | "~/.kube/config" |
| cluster_default_node_tags | list | Specific tags for the node pool in the cluster - the tags from the cluster are a | [] |
Outputs (1)
kubernetes_host — The hostname of the API server for the clusterResources (2)
digitalocean_kubernetes_clusterlocal_file
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.2
Cloud DIGITALOCEAN
Total downloads791
Inputs9
Outputs1
Resources2
Namespacejaxxstorm
Updated