Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066272
D8659.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D8659.id.diff
View Options
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
Details
Attached
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
Attached To
D8659: Add new production rancher worker with dedicated swh/loader role
Event Timeline
Log In to Comment