Page MenuHomeSoftware Heritage

D8659.id.diff
No OneTemporary

D8659.id.diff

diff --git a/proxmox/terraform/production/cluster-archive-production.tf b/proxmox/terraform/production/cluster-archive-production.tf
--- a/proxmox/terraform/production/cluster-archive-production.tf
+++ b/proxmox/terraform/production/cluster-archive-production.tf
@@ -222,6 +222,45 @@
value = module.rancher-node-production-worker04.summary
}
+module "rancher-node-production-worker05" {
+ source = "../modules/node"
+ template = var.templates["stable-zfs"]
+ config = local.config
+ hostname = "rancher-node-production-worker05"
+ description = "Generic worker node"
+ hypervisor = "uffizi"
+ sockets = "2"
+ cores = "5"
+ onboot = true
+ memory = "32768"
+ balloon = "16384"
+
+ networks = [{
+ id = 0
+ ip = "192.168.100.125"
+ gateway = local.config["gateway_ip"]
+ bridge = local.config["bridge"]
+ }]
+
+ storages = [{
+ storage = "proxmox"
+ size = "20G"
+ }, {
+ storage = "uffizi-scratch"
+ size = "30G"
+ }
+ ]
+
+ post_provision_steps = [
+ "systemctl restart docker", # workaround
+ "${rancher2_cluster.archive-production.cluster_registration_token[0].node_command} --worker --label swh/loader=true --label swh/large-scratch-fs=true"
+ ]
+}
+
+output "rancher-node-production-worker05_summary" {
+ value = module.rancher-node-production-worker05.summary
+}
+
resource "rancher2_app_v2" "archive-production-rancher-monitoring" {
cluster_id = rancher2_cluster.archive-production.id
name = "rancher-monitoring"

File Metadata

Mime Type
text/plain
Expires
Nov 5 2024, 4:39 AM (10 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217183

Event Timeline