From 4ef430dcb765f2af40153adeaa608d671f06debd Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Fri, 21 Jun 2024 18:52:30 -0400 Subject: [PATCH] remove ollama for now --- ollama/ollama-deployment.yaml | 38 ----------------------------------- ollama/ollama-pvc.yaml | 12 ----------- ollama/ollama-service.yaml | 12 ----------- 3 files changed, 62 deletions(-) delete mode 100644 ollama/ollama-deployment.yaml delete mode 100644 ollama/ollama-pvc.yaml delete mode 100644 ollama/ollama-service.yaml diff --git a/ollama/ollama-deployment.yaml b/ollama/ollama-deployment.yaml deleted file mode 100644 index 5f4d091..0000000 --- a/ollama/ollama-deployment.yaml +++ /dev/null @@ -1,38 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: ollama - namespace: ollama-ns -spec: - replicas: 1 - selector: - matchLabels: - app: ollama - template: - metadata: - labels: - app: ollama - spec: - runtimeClassName: nvidia - containers: - - name: ollama - image: ollama/ollama - env: - - name: OLLAMA_HOST - value: 0.0.0.0 - - name: OLLAMA_MODELS - value: "/models" - #- name: OLLAMA_KEEP_ALIVE - # value: "-1" - ports: - - containerPort: 11434 - resources: - limits: - nvidia.com/gpu: 3 - volumeMounts: - - name: ollama-volume - mountPath: "/models" - volumes: - - name: ollama-volume - persistentVolumeClaim: - claimName: ollama-pvc diff --git a/ollama/ollama-pvc.yaml b/ollama/ollama-pvc.yaml deleted file mode 100644 index f2d2aa0..0000000 --- a/ollama/ollama-pvc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: ollama-pvc - namespace: ollama-ns -spec: - accessModes: - - ReadWriteOnce - storageClassName: longhorn - resources: - requests: - storage: 200Gi diff --git a/ollama/ollama-service.yaml b/ollama/ollama-service.yaml deleted file mode 100644 index d034c21..0000000 --- a/ollama/ollama-service.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: ollama-service - namespace: ollama-ns -spec: - type: LoadBalancer - ports: - - port: 11434 - targetPort: 11434 - selector: - app: ollama