final attempt before I give up for today
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user