From 734c4e35bf387d0ad6a4c243e300750421570632 Mon Sep 17 00:00:00 2001 From: area363 Date: Thu, 7 Mar 2024 18:49:10 +0900 Subject: [PATCH 1/2] update odin validator nodegroup --- 9c-main/multiplanetary/network/9c-network.yaml | 2 +- terraform/environments/main/main.tf | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/9c-main/multiplanetary/network/9c-network.yaml b/9c-main/multiplanetary/network/9c-network.yaml index 7db25f640..36ae29386 100644 --- a/9c-main/multiplanetary/network/9c-network.yaml +++ b/9c-main/multiplanetary/network/9c-network.yaml @@ -137,7 +137,7 @@ validator: value: validator-test nodeSelector: - eks.amazonaws.com/nodegroup: 9c-main-r7g_xl_2c_validator + eks.amazonaws.com/nodegroup: 9c-main-m7g_2xl_2c_validator resources: requests: diff --git a/terraform/environments/main/main.tf b/terraform/environments/main/main.tf index 90eab5bc6..d0ad31f64 100644 --- a/terraform/environments/main/main.tf +++ b/terraform/environments/main/main.tf @@ -137,8 +137,8 @@ module "common" { instance_types = ["r7g.xlarge"] availability_zone = "us-east-2c" capacity_type = "ON_DEMAND" - desired_size = 4 - min_size = 4 + desired_size = 0 + min_size = 0 max_size = 10 ami_type = "AL2_ARM_64" disk_size = 50 @@ -153,8 +153,8 @@ module "common" { instance_types = ["m7g.2xlarge"] availability_zone = "us-east-2c" capacity_type = "ON_DEMAND" - desired_size = 0 - min_size = 0 + desired_size = 4 + min_size = 4 max_size = 10 ami_type = "AL2_ARM_64" disk_size = 50 From 6d380c224262b74b0ea398d29a6368cf33d3cf6b Mon Sep 17 00:00:00 2001 From: area363 Date: Thu, 7 Mar 2024 18:51:29 +0900 Subject: [PATCH 2/2] update cpu resource --- 9c-main/multiplanetary/network/9c-network.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9c-main/multiplanetary/network/9c-network.yaml b/9c-main/multiplanetary/network/9c-network.yaml index 36ae29386..40e8b3cfa 100644 --- a/9c-main/multiplanetary/network/9c-network.yaml +++ b/9c-main/multiplanetary/network/9c-network.yaml @@ -141,7 +141,7 @@ validator: resources: requests: - cpu: '2' + cpu: '6' memory: 25Gi remoteHeadless: