From c7acba30e8ddd9baef0cb48f3edd1cd73fbbbb84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=BB=91=20=28AI=20Bot=29?= Date: Fri, 13 Feb 2026 20:40:55 +1100 Subject: [PATCH] feat: deploy ollama to ai namespace via argocd --- ai/ollama.yaml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 ai/ollama.yaml diff --git a/ai/ollama.yaml b/ai/ollama.yaml new file mode 100644 index 0000000..d228417 --- /dev/null +++ b/ai/ollama.yaml @@ -0,0 +1,49 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: ollama + namespace: ai + labels: + app: ollama +spec: + replicas: 1 + selector: + matchLabels: + app: ollama + template: + metadata: + labels: + app: ollama + spec: + containers: + - name: ollama + image: ollama/ollama:latest + ports: + - containerPort: 11434 + name: ollama-port + resources: + requests: + cpu: "500m" + memory: "2Gi" + limits: + cpu: "2" + memory: "4Gi" + volumeMounts: + - name: ollama-data + mountPath: /root/.ollama + volumes: + - name: ollama-data + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: ollama-service + namespace: ai +spec: + selector: + app: ollama + ports: + - protocol: TCP + port: 11434 + targetPort: 11434