open-webui/kubernetes/manifest/patches/ollama-statefulset-gpu.yaml

18 lines
294 B
YAML
Raw Normal View History

apiVersion: apps/v1
kind: StatefulSet
metadata:
name: ollama
2024-02-17 13:18:45 +00:00
namespace: open-webui
spec:
selector:
matchLabels:
app: ollama
serviceName: "ollama"
template:
spec:
containers:
- name: ollama
resources:
limits:
nvidia.com/gpu: "1"