yueyang / kubernetes /manifest /patches /ollama-statefulset-gpu.yaml
github-actions[bot]
GitHub deploy: 45fae65ec18d0b265b7151dd469053c8494a72e8
ccaf67e
raw
history blame contribute delete
294 Bytes
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"