diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index ec57c2a..1c03cd7 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -50,9 +50,8 @@ jobs: - name: Terraform Plan run: terraform plan -var-file="secrets_prod.tfvars" -var-file="configurations/prod.tfvars" - # - name: Terraform apply - # run: terraform apply -auto-approve -var-file="secrets_prod.tfvars" -var-file="configurations/prod.tfvars" - - - name: Terraform destroy - run: terraform destroy -auto-approve -var-file="secrets_prod.tfvars" -var-file="configurations/prod.tfvars" + - name: Terraform apply + run: terraform apply -auto-approve -var-file="secrets_prod.tfvars" -var-file="configurations/prod.tfvars" + # - name: Terraform destroy + # run: terraform destroy -auto-approve -var-file="secrets_prod.tfvars" -var-file="configurations/prod.tfvars" \ No newline at end of file diff --git a/configurations/prod.tfvars b/configurations/prod.tfvars index 3afd05c..5f12640 100644 --- a/configurations/prod.tfvars +++ b/configurations/prod.tfvars @@ -18,8 +18,8 @@ vm_cloudinit_storage="local-lvm" # The storage where the cloud-init configuratio # Cluster configuration k8s_version= "1.28" # The version of Kubernetes k8s_master_nodes= 2 # Number of master nodes (the main node is always the first one and not included in this number, so if you want 3 master nodes, you should put 2 here) -k8s_worker_nodes= 8 # Number of worker nodes (recommended 3 or more for production environments) -k8s_storage_nodes= 2 # Number of storage nodes (if you don't want storage nodes, put 0 here) +k8s_worker_nodes= 10 # Number of worker nodes (recommended 3 or more for production environments) +k8s_storage_nodes= 3 # Number of storage nodes (if you don't want storage nodes, put 0 here) k8s_pod_network_cidr= "10.244.0.0" # The CIDR notation of the pod network metallb_ip_range= "192.168.1.160-192.168.1.180" # The IP range for MetalLB