mirror of
https://github.com/open-webui/open-webui
synced 2024-11-21 15:47:49 +00:00
Improve kustomization
usage
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.
This commit is contained in:
parent
e510c8b11f
commit
82fbfd69a5
8
kubernetes/manifest/base/kustomization.yaml
Normal file
8
kubernetes/manifest/base/kustomization.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
resources:
|
||||
- open-webui.yaml
|
||||
- ollama-service.yaml
|
||||
- ollama-statefulset.yaml
|
||||
- webui-deployment.yaml
|
||||
- webui-service.yaml
|
||||
- webui-ingress.yaml
|
||||
- webui-pvc.yaml
|
8
kubernetes/manifest/gpu/kustomization.yaml
Normal file
8
kubernetes/manifest/gpu/kustomization.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ../base
|
||||
|
||||
patches:
|
||||
- path: ollama-statefulset-gpu.yaml
|
@ -1,13 +0,0 @@
|
||||
resources:
|
||||
- base/open-webui.yaml
|
||||
- base/ollama-service.yaml
|
||||
- base/ollama-statefulset.yaml
|
||||
- base/webui-deployment.yaml
|
||||
- base/webui-service.yaml
|
||||
- base/webui-ingress.yaml
|
||||
- base/webui-pvc.yaml
|
||||
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
patches:
|
||||
- path: patches/ollama-statefulset-gpu.yaml
|
Loading…
Reference in New Issue
Block a user