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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user