final attempt before I give up for today

This commit is contained in:
ION606
2025-09-13 22:13:34 -04:00
parent 2c538a1cf9
commit bf98e2055e
6 changed files with 128 additions and 124 deletions
+9 -7
View File
@@ -20,12 +20,10 @@ spec:
- { name: OLLAMA_CHAT_MODEL, value: "llama3.1" }
- { name: OLLAMA_EMBED_MODEL, value: "nomic-embed-text" }
readinessProbe:
{ httpGet: { path: "/openapi.json", port: 8788 } }
httpGet: { path: "/openapi.json", port: 8788 }
livenessProbe:
{
httpGet: { path: "/", port: 8788 },
initialDelaySeconds: 10,
}
httpGet: { path: "/", port: 8788 }
initialDelaySeconds: 10
resources:
requests: { cpu: "200m", memory: "256Mi" }
limits: { cpu: "1", memory: "1Gi" }
@@ -35,5 +33,9 @@ kind: Service
metadata: { name: rag-server, namespace: ai }
spec:
selector: { app: rag-server }
ports: [{ name: http, port: 8788, targetPort: 8788 }]
type: ClusterIP
ports:
- name: http
port: 8788
targetPort: 8788
nodePort: 31788
type: NodePort