diff --git a/ollama/ollama-deployment.yaml b/ollama/ollama-deployment.yaml deleted file mode 100644 index ffb33e4..0000000 --- a/ollama/ollama-deployment.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: ollama-deployment - 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" - ports: - - containerPort: 11434 - resources: - limits: - nvidia.com/gpu: 2 - volumeMounts: - - name: ollama-volume - mountPath: "/my-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