open-webui/kubernetes/manifest/patches/ollama-statefulset-gpu.yaml
Bjørn Jørgensen a9805df7ef open-webui
2024-02-17 14:18:45 +01:00

18 lines
294 B
YAML

apiVersion: apps/v1
kind: StatefulSet
metadata:
name: ollama
namespace: open-webui
spec:
selector:
matchLabels:
app: ollama
serviceName: "ollama"
template:
spec:
containers:
- name: ollama
resources:
limits:
nvidia.com/gpu: "1"