diff --git a/kubernetes/terraform/prod/cluster.tf b/kubernetes/terraform/prod/cluster.tf index 1b4587e..84b2b9c 100644 --- a/kubernetes/terraform/prod/cluster.tf +++ b/kubernetes/terraform/prod/cluster.tf @@ -1,7 +1,7 @@ variable "cluster_name" {} data "digitalocean_kubernetes_versions" "treetracker_kubernetes_version" { - version_prefix = "1.21." + version_prefix = "1.25." } resource "digitalocean_kubernetes_cluster" "kubernetes-cluster" { @@ -18,7 +18,7 @@ resource "digitalocean_kubernetes_cluster" "kubernetes-cluster" { node_pool { name = "default-node-pool" size = "s-2vcpu-2gb" - node_count = 1 + node_count = 2 tags = ["microservices-node", "treetracker-database-access"] } @@ -29,7 +29,7 @@ resource "digitalocean_kubernetes_node_pool" "microservices-node-pool" { name = "microservices-node-pool" size = "s-2vcpu-4gb" - node_count = 3 + node_count = 5 tags = ["microservices-node", "treetracker-database-access"] } @@ -39,7 +39,7 @@ resource "digitalocean_kubernetes_node_pool" "cloud-services-node-pool" { name = "cloud-services-node-pool" size = "s-2vcpu-4gb" - node_count = 6 + node_count = 8 tags = ["cloud-services-node", "treetracker-database-access"] } diff --git a/kubernetes/terraform/prod/provider.tf b/kubernetes/terraform/prod/provider.tf index 8844a24..8f606d9 100644 --- a/kubernetes/terraform/prod/provider.tf +++ b/kubernetes/terraform/prod/provider.tf @@ -6,7 +6,7 @@ terraform { required_providers { digitalocean = { source = "digitalocean/digitalocean" - version = "1.22.2" + version = "1.25.2" } }