deploy-tkg-cluster
jd4883/deploy-tkg-cluster/kubectl
Terraform Module
HCL
KUBECTL
Uses terraform to parse parameters into a valid yaml for tanzu kubernetes cluster creation and applies the config. This is early stages and may be adjusted to make more intelligent decisions without needing as many variables. For now this is tested and working
Install
module "deploy-tkg-cluster" {
source = "jd4883/deploy-tkg-cluster/kubectl"
version = "0.1.2"
}
README
terraform-kubectl-deploy-tkg-cluster Uses terraform to parse parameters into a valid yaml for tanzu kubernetes cluster creation and applies the config. This is early stages and may be adjusted to make more intelligent decisions without needing as many variables. For now this is tested and working
Inputs (21)
| Name | Type | Description | Default |
|---|---|---|---|
| default_storage_class | string | required | |
| full_version | string | required | |
| namespace | string | required | |
| control_plane_vm_class | string | required | |
| node_pools | list(object( { label | required | |
| control_plane_storage_class | string | required | |
| domain | string | required | |
| name | string | required | |
| service_cidr | list(string) | [
"10.96.0.0/12"
] | |
| force_new | bool | false | |
| wait_for_rollout | bool | true | |
| network_cni | string | "calico" | |
| sensitive_fields | list(string) | [
"data"
] | |
| control_plane_vm_count | number | 1 | |
| pod_cidr | list(string) | [
"192.168.0.0/16"
] | |
| validate_schema | bool | true | |
| server_side_apply | bool | false | |
| wait | bool | true | |
| api_version | string | "run.tanzu.vmware.com/v1alpha2" | |
| override_namespace | string | "" | |
| ignore_fields | list(string) | [] |
Resources (1)
kubectl_manifest
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.2
Cloud KUBECTL
Total downloads588
Inputs21
Resources1
Namespacejd4883
Updated