Skip to content
Snippets Groups Projects
Unverified Commit 131a009a authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

cluster-argo: Add new worker

Related to T4135
parent 525ff43b
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ module "argo-worker01" {
source = "../modules/node"
template = var.templates["stable-zfs"]
config = local.config
description = "Argo worker"
description = "Argo node with etcd, controlplane and worker roles"
hypervisor = "uffizi"
sockets = "1"
cores = "4"
......@@ -56,3 +56,40 @@ module "argo-worker01" {
"${rancher2_cluster.cluster-argo.cluster_registration_token[0].node_command} --etcd --controlplane --worker"
]
}
module "argo-worker02" {
hostname = "argo-worker02"
vmid = 167
source = "../modules/node"
template = var.templates["stable-zfs"]
config = local.config
description = "Argo worker"
hypervisor = "pompidou"
sockets = "1"
cores = "4"
onboot = true
memory = "8192"
balloon = "4096"
networks = [{
id = 0
ip = "192.168.50.41"
gateway = local.config["gateway_ip"]
bridge = local.config["vlan"]
}]
storages = [{
storage = "proxmox"
size = "20G"
}, {
storage = "proxmox"
size = "50G"
}
]
post_provision_steps = [
"systemctl restart docker", # workaround
"${rancher2_cluster.cluster-argo.cluster_registration_token[0].node_command} --worker"
]
}
  • Phabricator Migration user @phabricator-migration ·
    Owner

    Some references in the commit message have been migrated:

    • T4135 is now infra/sysadm-environment#4135
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment