diff --git a/tofu/123-2.tf b/tofu/123-2.tf deleted file mode 100644 index 3f83671..0000000 --- a/tofu/123-2.tf +++ /dev/null @@ -1,28 +0,0 @@ -resource "openstack_containerinfra_cluster_v1" "k8s_123_2" { - name = "superset${var.name[var.datacenter]}-123-2" - cluster_template_id = resource.openstack_containerinfra_clustertemplate_v1.template_123_2.id - master_count = 1 - node_count = var.workers[var.datacenter] -} - -resource "openstack_containerinfra_clustertemplate_v1" "template_123_2" { - name = "superset${var.name[var.datacenter]}-123-2" - coe = "kubernetes" - dns_nameserver = "8.8.8.8" - docker_storage_driver = "overlay2" - docker_volume_size = "50" - external_network_id = var.external_network_id[var.datacenter] - fixed_subnet = var.fixed_subnet[var.datacenter] - fixed_network = var.fixed_network[var.datacenter] - flavor = var.worker_flavor[var.datacenter] - floating_ip_enabled = "false" - image = var.image_name[var.datacenter] - master_flavor = var.control_flavor[var.datacenter] - network_driver = "flannel" - - labels = { - kube_tag = "v1.23.15-rancher1-linux-amd64" - hyperkube_prefix = "docker.io/rancher/" - cloud_provider_enabled = "true" - } -}