Name | Version |
---|---|
terraform | >= 1.0.0 |
digitalocean | >= 2.0 |
kubernetes | >= 2.0.0 |
kubectl | >= 1.0.0 |
Name | Version |
---|---|
digitalocean | 2.0 |
digitalocean | 2.6.0 |
digitalocean | 1.7.0 |
Name | Description |
---|---|
k8s_cluster_c1 | Deploy Kubernetes Cluster 1 |
k8s_cluster_c2 | Deploy Kubernetes Cluster 2 |
Name | Type |
---|---|
digitalocean_kubernetes_cluster.k8s_cluster_c1 | resource |
kubectl_manifest.sockshop | resource |
kubectl_manifest.onlineboutique | resource |
kubectl_manifest.yelb | resource |
digitalocean_project.chaosmonkey | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
digitalocean_do_token | Digital Ocean Token to authenticate against the Digital Ocean cli-tool | string |
n/a | yes |
digitalocean_clustername_cluster1 | Name of the kubernetes cluster | string |
"k8s-cluter-c1-fra1-1227" |
yes |
digitalocean_clustername_cluster2 | Name of the kubernetes cluster | string |
"k8s-cluter-c2-fra1-1227" |
yes |
No outputs.
// Create Kubernetes Cluster k8s_cluster_c1
module "k8s_cluster_c1" {
source = "./terraform_kubernetes"
clustername = var.clustername_cluster1
do_token = var.do_token
}
// Create Kubernetes Cluster k8s_cluster_c2
module "k8s_cluster_c2" {
source = "./terraform_kubernetes"
clustername = var.clustername_cluster2
do_token = var.do_token
}