From d57cee3e480c77f9ab297ce574cfcf497acd20a2 Mon Sep 17 00:00:00 2001 From: Preston Hunter Date: Sat, 27 Dec 2025 23:40:12 -0500 Subject: [PATCH] infra(ai-frontend): Update Nomad job hostname constraint to hp1-home Updates the hostname constraint in the `ai-frontend` Nomad job from `hp-mini-1` to `hp1-home` for both `openwebui` and `lobechat` tasks. This correction ensures the services are pinned to the accurate target host. Removed outdated `FIXED:` comments for cleanup. --- stacks/ai/ai-frontend.nomad | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/stacks/ai/ai-frontend.nomad b/stacks/ai/ai-frontend.nomad index 1945952..9c2e22d 100644 --- a/stacks/ai/ai-frontend.nomad +++ b/stacks/ai/ai-frontend.nomad @@ -7,10 +7,10 @@ job "ai-frontend" { group "openwebui" { count = 1 - # Pin to HP1 + # PIN TO HP1 (Corrected Hostname) constraint { attribute = "${attr.unique.hostname}" - value = "hp-mini-1" + value = "hp1-home" } network { @@ -47,7 +47,6 @@ job "ai-frontend" { ] } - # FIXED: Expanded to multi-line to remove illegal semicolon resources { cpu = 1000 memory = 1024 @@ -59,10 +58,10 @@ job "ai-frontend" { group "lobechat" { count = 1 - # Pin to HP1 + # PIN TO HP1 (Corrected Hostname) constraint { attribute = "${attr.unique.hostname}" - value = "hp-mini-1" + value = "hp1-home" } network { @@ -97,7 +96,6 @@ job "ai-frontend" { ports = ["http"] } - # FIXED: Ensure 1GB RAM to prevent OOM resources { cpu = 500 memory = 1024