A module to add a cluster to your devzero account
Requires devzero-inc/devzero and hashicorp/helm
provider "devzero" {
team_id = "YOUR_TEAM_ID"
token = "YOUR_PAT"
}
module "devzero-cluster" {
source = "devzero-inc/cluster"
cluster_name = "example-cluster"
}| Name | Version |
|---|---|
| terraform | >= 1.1.0 |
| devzero | >= 0.1.1 |
| helm | >= 3.0.2 |
| Name | Version |
|---|---|
| devzero | 0.1.1 |
| helm | 3.0.2 |
No modules.
| Name | Type |
|---|---|
| devzero_cluster.cluster | resource |
| helm_release.devzero_operator | resource |
| helm_release.zxporter | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| cloud_provider | The cloud provider of the cluster. Supported values: aws, azure, gcp, "". Empty string will be treated as no cloud credentials are required. | string |
"" |
no |
| cluster_name | The name of the cluster | string |
n/a | yes |
| containerd_config_path | The path to the containerd config | string |
null |
no |
| containerd_socket_path | The path to the containerd socket | string |
null |
no |
| enable_live_migration_agent | Whether to enable the live migration agent | bool |
false |
no |
| enable_scheduler | Whether to enable the scheduler | bool |
true |
no |
| endpoint | The endpoint of the control plane | string |
"https://dakr.devzero.io" |
no |
| operator_extra_values | Additional Helm values for the devzero-operator chart (as name->value). | list(object({ |
[] |
no |
| provision_prometheus | Whether to provision prometheus | bool |
true |
no |
| runtime | The runtime of the cluster. Supported values: containerd, rke2, k3s. | string |
"containerd" |
no |
| zxporter_extra_values | Additional Helm values for the zxporter chart (as name->value). | list(object({ |
[] |
no |
| Name | Description |
|---|---|
| cluster_id | n/a |
| cluster_token | n/a |