Terraform module for adding a cluster to your devzero account
Website
Docs
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"
}
No modules.
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_operator
Whether to install the devzero-operator component
bool
true
no
enable_scheduler
Whether to enable the scheduler
bool
true
no
enable_zxporter
Whether to install the zxporter component
bool
true
no
endpoint
The endpoint of the control plane
string
"https://dakr.devzero.io"
no
operator_chart_version
The Helm chart version for devzero-operator
string
"0.1.14"
no
operator_extra_values
Additional Helm values for the devzero-operator chart (as name->value).
list(object({ name = string value = string }))
[]
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_chart_version
The Helm chart version for zxporter
string
"0.0.26"
no
zxporter_extra_values
Additional Helm values for the zxporter chart (as name->value).
list(object({ name = string value = string }))
[]
no