From d8e3a470dc01512bef6510dd6db16362791ca4f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz>
Date: Wed, 24 Jul 2024 17:30:13 +0000
Subject: [PATCH] Enlarge infrastructure for staging1 instance

---
 staging1/deploy.sh                  |  2 +-
 staging1/inventory/1-psnc.yaml      | 11 +++++++++++
 staging1/terraform/terraform.tfvars |  4 ++--
 3 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/staging1/deploy.sh b/staging1/deploy.sh
index b02846d..e8a7139 100755
--- a/staging1/deploy.sh
+++ b/staging1/deploy.sh
@@ -20,7 +20,7 @@ ip="$(head -n 1 < terraform/fip.txt)"
 # 	curl -i -X GET -u "$auth" https://nsupdate.fedcloud.eu/nic/update?myip="$ip"
 # done
 # eval "$shellstate"
-echo "Terraform finished. Continue? (CTRL-C to quit)"
+echo "Terraform finished. Check terraform/docker-volume.sh. Continue? (CTRL-C to quit)"
 read -r _
 
 # wait for ping and ssh
diff --git a/staging1/inventory/1-psnc.yaml b/staging1/inventory/1-psnc.yaml
index 22b8c29..4cc0735 100644
--- a/staging1/inventory/1-psnc.yaml
+++ b/staging1/inventory/1-psnc.yaml
@@ -20,6 +20,17 @@ nfs:
 worker:
   hosts:
     192.168.0.128:
+    192.168.0.116:
+    192.168.0.59:
+    192.168.0.24:
+    192.168.0.153:
+    192.168.0.244:
+    192.168.0.46:
+    192.168.0.208:
+    192.168.0.92:
+    192.168.0.196:
+    192.168.0.243:
+    192.168.0.72:
 
 gpu:
   hosts:
diff --git a/staging1/terraform/terraform.tfvars b/staging1/terraform/terraform.tfvars
index 713e055..97ab9f2 100644
--- a/staging1/terraform/terraform.tfvars
+++ b/staging1/terraform/terraform.tfvars
@@ -6,12 +6,12 @@ site_name = "staging1"
 
 # These may need some adjustment for your provider
 master_flavor_name = "M1-NVME-2vCPU-8R-50D"
-worker_flavor_name = "M1-NVME-2vCPU-8R-50D"
+worker_flavor_name = "R1-NVME-8vCPU-32R-100D"
 # XXX: replace this for GPU flavor, once available
 gpu_flavor_name = "M1-NVME-2vCPU-8R-50D"
 
 # Number of extra workers
-extra_workers = 1
+extra_workers = 12
 
 # Number of GPU workers
 gpu_workers = 0
-- 
GitLab