mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +00:00
36 lines
647 B
Markdown
36 lines
647 B
Markdown
|
### Installing Both Ollama and Ollama Web UI Using Kustomize
|
||
|
|
||
|
For cpu-only pod
|
||
|
|
||
|
```bash
|
||
|
kubectl apply -f ./kubernetes/manifest/base
|
||
|
```
|
||
|
|
||
|
For gpu-enabled pod
|
||
|
|
||
|
```bash
|
||
|
kubectl apply -k ./kubernetes/manifest
|
||
|
```
|
||
|
|
||
|
### Installing Both Ollama and Ollama Web UI Using Helm
|
||
|
|
||
|
Package Helm file first
|
||
|
|
||
|
```bash
|
||
|
helm package ./kubernetes/helm/
|
||
|
```
|
||
|
|
||
|
For cpu-only pod
|
||
|
|
||
|
```bash
|
||
|
helm install ollama-webui ./ollama-webui-*.tgz
|
||
|
```
|
||
|
|
||
|
For gpu-enabled pod
|
||
|
|
||
|
```bash
|
||
|
helm install ollama-webui ./ollama-webui-*.tgz --set ollama.resources.limits.nvidia.com/gpu="1"
|
||
|
```
|
||
|
|
||
|
Check the `kubernetes/helm/values.yaml` file to know which parameters are available for customization
|