Skip to content

Commit

Permalink
Merge pull request #193 from emmanue/prodresource
Browse files Browse the repository at this point in the history
fix: up prod resources
  • Loading branch information
dadiorchen authored Jan 9, 2024
2 parents 96c80bf + 1b814ab commit 34e1544
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions kubernetes/terraform/prod/cluster.tf
Original file line number Diff line number Diff line change
@@ -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" {
Expand All @@ -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"]
}

Expand All @@ -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"]

}
Expand All @@ -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"]

}
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/terraform/prod/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "1.22.2"
version = "1.25.2"
}

}
Expand Down

0 comments on commit 34e1544

Please sign in to comment.