- Add namespace, PVC, deployment, service, and kustomization for Ollama - ClusterIP only (internal), no ingress - 10Gi PVC mounted at /root/.ollama - Resource limits: 700Mi-1500Mi memory, 500m-1000m CPU - Add ArgoCD Application CR for ollama - Update backend configmap with OLLAMA_BASE_URL and OLLAMA_CHAT_MODEL
15 lines
No EOL
224 B
YAML
15 lines
No EOL
224 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: ollama
|
|
namespace: nxtgauge-ai
|
|
labels:
|
|
app: ollama
|
|
spec:
|
|
type: ClusterIP
|
|
ports:
|
|
- port: 11434
|
|
targetPort: 11434
|
|
name: http
|
|
selector:
|
|
app: ollama |