chore(bstein-dev-home): scale to 1 replica and pass ai meta env

This commit is contained in:
Brad Stein 2025-12-21 00:17:08 -03:00
parent 8a4e1993ec
commit ef372bf8f2
2 changed files with 9 additions and 2 deletions

View File

@ -5,7 +5,7 @@ metadata:
name: bstein-dev-home-backend
namespace: bstein-dev-home
spec:
replicas: 2
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
@ -31,6 +31,13 @@ spec:
value: qwen2.5-coder:7b-instruct-q4_0
- name: AI_CHAT_TIMEOUT_SEC
value: "20"
- name: AI_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: AI_NODE_GPU_MAP
value: |
{"titan-24": "RTX 3080 8GB (local GPU)", "titan-22": "RTX 3050 8GB (local GPU)"}
ports:
- name: http
containerPort: 8080

View File

@ -5,7 +5,7 @@ metadata:
name: bstein-dev-home-frontend
namespace: bstein-dev-home
spec:
replicas: 2
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels: