open-webui/kubernetes/manifest/patches/ollama-statefulset-gpu.yaml
2023-12-24 16:34:33 +01:00

17 lines
300 B
YAML

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