mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 13:07:25 +00:00
82fbfd69a5
Ensure that the `manifest/base` folder can be used as a standalone kustomization resource. Add a new subfolder `manifest/gpu` which uses `manifest/base` with additional GPU related patches.
18 lines
294 B
YAML
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"
|