Revert "fix: lower Pimox worker CPU default"
Homelab Main / validate (push) Has been cancelled Details
Homelab Main / running-update (push) Has been cancelled Details
Homelab Main / debian-ops (push) Has been cancelled Details

This reverts commit 4d93061728.
This commit is contained in:
juvenal.diaz 2026-10-02 20:40:38 -06:00
parent 4d93061728
commit 5938830a22
4 changed files with 2 additions and 12 deletions

View File

@ -138,7 +138,7 @@ Override `TF_VAR_pimox_template_scsi0`,
`./jeannie up` also creates or reuses worker clones after the template exists. It `./jeannie up` also creates or reuses worker clones after the template exists. It
defaults to one worker, VMID `9010`, name `pimox-worker-01`, deterministic defaults to one worker, VMID `9010`, name `pimox-worker-01`, deterministic
locally administered MAC address, 1 socket locally administered MAC address, 1 socket
with 1 core, 8 GiB RAM, `opi5_ssd` clone storage, and qemu-guest-agent IP with 2 cores, 8 GiB RAM, `opi5_ssd` clone storage, and qemu-guest-agent IP
discovery when that Pimox storage is available. New workers are full clones discovery when that Pimox storage is available. New workers are full clones
created with `qm clone --storage`, so the template can remain on `local` while created with `qm clone --storage`, so the template can remain on `local` while
worker disks land on the Orange Pi SSD-backed non-local Pimox datastore. Keep worker disks land on the Orange Pi SSD-backed non-local Pimox datastore. Keep

View File

@ -221,8 +221,6 @@ pimox:
template_vmid: 9000 template_vmid: 9000
worker_base_vmid: 9010 worker_base_vmid: 9010
default_worker_count: 2 default_worker_count: 2
control_plane_cores: 2
worker_cores: 1
worker_name_prefix: pimox-worker worker_name_prefix: pimox-worker
ai_gateway: ai_gateway:

View File

@ -69,8 +69,6 @@ mapping = {
"ai_gateway.knowledge_index_dir": "LAB_AI_KNOWLEDGE_INDEX_DIR", "ai_gateway.knowledge_index_dir": "LAB_AI_KNOWLEDGE_INDEX_DIR",
"pimox.worker_base_vmid": "LAB_PIMOX_WORKER_BASE_VMID", "pimox.worker_base_vmid": "LAB_PIMOX_WORKER_BASE_VMID",
"pimox.default_worker_count": "LAB_PIMOX_WORKER_COUNT", "pimox.default_worker_count": "LAB_PIMOX_WORKER_COUNT",
"pimox.control_plane_cores": "LAB_PIMOX_CONTROL_PLANE_CORES",
"pimox.worker_cores": "LAB_PIMOX_WORKER_CORES",
} }
def flatten(document, prefix=""): def flatten(document, prefix=""):
@ -149,8 +147,6 @@ profile_mapping = {
"pimox.storage": ("LAB_CLUSTER_PIMOX_STORAGE", "hosts.opi5_pimox.worker_storage"), "pimox.storage": ("LAB_CLUSTER_PIMOX_STORAGE", "hosts.opi5_pimox.worker_storage"),
"pimox.control_plane_vmid": ("LAB_CLUSTER_PIMOX_CONTROL_PLANE_VMID", None), "pimox.control_plane_vmid": ("LAB_CLUSTER_PIMOX_CONTROL_PLANE_VMID", None),
"pimox.worker_count": ("LAB_CLUSTER_PIMOX_WORKER_COUNT", "pimox.default_worker_count"), "pimox.worker_count": ("LAB_CLUSTER_PIMOX_WORKER_COUNT", "pimox.default_worker_count"),
"pimox.control_plane_cores": ("LAB_PIMOX_CONTROL_PLANE_CORES", "pimox.control_plane_cores"),
"pimox.worker_cores": ("LAB_PIMOX_WORKER_CORES", "pimox.worker_cores"),
"pimox.worker_static_ips": ("LAB_CLUSTER_PIMOX_WORKER_STATIC_IPS", None), "pimox.worker_static_ips": ("LAB_CLUSTER_PIMOX_WORKER_STATIC_IPS", None),
} }
for relative_path, (env_name, fallback_path) in profile_mapping.items(): for relative_path, (env_name, fallback_path) in profile_mapping.items():

View File

@ -70,8 +70,6 @@ mapping = {
"ai_gateway.knowledge_index_dir": "LAB_AI_KNOWLEDGE_INDEX_DIR", "ai_gateway.knowledge_index_dir": "LAB_AI_KNOWLEDGE_INDEX_DIR",
"pimox.worker_base_vmid": "LAB_PIMOX_WORKER_BASE_VMID", "pimox.worker_base_vmid": "LAB_PIMOX_WORKER_BASE_VMID",
"pimox.default_worker_count": "LAB_PIMOX_WORKER_COUNT", "pimox.default_worker_count": "LAB_PIMOX_WORKER_COUNT",
"pimox.control_plane_cores": "LAB_PIMOX_CONTROL_PLANE_CORES",
"pimox.worker_cores": "LAB_PIMOX_WORKER_CORES",
} }
def flatten(document, prefix=""): def flatten(document, prefix=""):
@ -150,8 +148,6 @@ profile_mapping = {
"pimox.storage": ("LAB_CLUSTER_PIMOX_STORAGE", "hosts.opi5_pimox.worker_storage"), "pimox.storage": ("LAB_CLUSTER_PIMOX_STORAGE", "hosts.opi5_pimox.worker_storage"),
"pimox.control_plane_vmid": ("LAB_CLUSTER_PIMOX_CONTROL_PLANE_VMID", None), "pimox.control_plane_vmid": ("LAB_CLUSTER_PIMOX_CONTROL_PLANE_VMID", None),
"pimox.worker_count": ("LAB_CLUSTER_PIMOX_WORKER_COUNT", "pimox.default_worker_count"), "pimox.worker_count": ("LAB_CLUSTER_PIMOX_WORKER_COUNT", "pimox.default_worker_count"),
"pimox.control_plane_cores": ("LAB_PIMOX_CONTROL_PLANE_CORES", "pimox.control_plane_cores"),
"pimox.worker_cores": ("LAB_PIMOX_WORKER_CORES", "pimox.worker_cores"),
"pimox.worker_static_ips": ("LAB_CLUSTER_PIMOX_WORKER_STATIC_IPS", None), "pimox.worker_static_ips": ("LAB_CLUSTER_PIMOX_WORKER_STATIC_IPS", None),
} }
for relative_path, (env_name, fallback_path) in profile_mapping.items(): for relative_path, (env_name, fallback_path) in profile_mapping.items():
@ -3075,7 +3071,7 @@ run_pimox_pipeline() {
local worker_node_prefix="${LAB_PIMOX_WORKER_NODE_PREFIX:-pimox-worker}" local worker_node_prefix="${LAB_PIMOX_WORKER_NODE_PREFIX:-pimox-worker}"
local worker_key_prefix="${LAB_PIMOX_WORKER_KEY_PREFIX:-pimox}" local worker_key_prefix="${LAB_PIMOX_WORKER_KEY_PREFIX:-pimox}"
local worker_skip_indexes="${LAB_PIMOX_SKIP_WORKER_INDEXES:-}" local worker_skip_indexes="${LAB_PIMOX_SKIP_WORKER_INDEXES:-}"
local worker_cores="${LAB_PIMOX_WORKER_CORES:-1}" local worker_cores="${LAB_PIMOX_WORKER_CORES:-2}"
local worker_memory="${LAB_PIMOX_WORKER_MEMORY:-8192}" local worker_memory="${LAB_PIMOX_WORKER_MEMORY:-8192}"
local worker_cpu_affinities="${LAB_PIMOX_WORKER_CPU_AFFINITIES:-}" local worker_cpu_affinities="${LAB_PIMOX_WORKER_CPU_AFFINITIES:-}"
local pimox_kvm_cpuset="${LAB_PIMOX_KVM_CPUSET:-4-7}" local pimox_kvm_cpuset="${LAB_PIMOX_KVM_CPUSET:-4-7}"