forked from open-webui/open-webui
open-webui
This commit is contained in:
parent
4c3edd0375
commit
a9805df7ef
10 changed files with 11 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: ollama-webui
|
name: open-webui
|
||||||
description: "Ollama Web UI: A User-Friendly Web Interface for Chat Interactions 👋"
|
description: "Ollama Web UI: A User-Friendly Web Interface for Chat Interactions 👋"
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
icon: https://raw.githubusercontent.com/ollama-webui/ollama-webui/main/static/favicon.png
|
icon: https://raw.githubusercontent.com/ollama-webui/ollama-webui/main/static/favicon.png
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
namespace: ollama-namespace
|
namespace: open-webui
|
||||||
|
|
||||||
ollama:
|
ollama:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: ollama-service
|
name: ollama-service
|
||||||
namespace: ollama-namespace
|
namespace: open-webui
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: ollama
|
app: ollama
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: apps/v1
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: ollama
|
name: ollama
|
||||||
namespace: ollama-namespace
|
namespace: open-webui
|
||||||
spec:
|
spec:
|
||||||
serviceName: "ollama"
|
serviceName: "ollama"
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: ollama-namespace
|
name: open-webui
|
|
@ -2,7 +2,7 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: ollama-webui-deployment
|
name: ollama-webui-deployment
|
||||||
namespace: ollama-namespace
|
namespace: open-webui
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
@ -24,5 +24,5 @@ spec:
|
||||||
memory: "500Mi"
|
memory: "500Mi"
|
||||||
env:
|
env:
|
||||||
- name: OLLAMA_API_BASE_URL
|
- name: OLLAMA_API_BASE_URL
|
||||||
value: "http://ollama-service.ollama-namespace.svc.cluster.local:11434/api"
|
value: "http://ollama-service.open-webui.svc.cluster.local:11434/api"
|
||||||
tty: true
|
tty: true
|
|
@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: ollama-webui-ingress
|
name: ollama-webui-ingress
|
||||||
namespace: ollama-namespace
|
namespace: open-webui
|
||||||
#annotations:
|
#annotations:
|
||||||
# Use appropriate annotations for your Ingress controller, e.g., for NGINX:
|
# Use appropriate annotations for your Ingress controller, e.g., for NGINX:
|
||||||
# nginx.ingress.kubernetes.io/rewrite-target: /
|
# nginx.ingress.kubernetes.io/rewrite-target: /
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: ollama-webui-service
|
name: ollama-webui-service
|
||||||
namespace: ollama-namespace
|
namespace: open-webui
|
||||||
spec:
|
spec:
|
||||||
type: NodePort # Use LoadBalancer if you're on a cloud that supports it
|
type: NodePort # Use LoadBalancer if you're on a cloud that supports it
|
||||||
selector:
|
selector:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
resources:
|
resources:
|
||||||
- base/ollama-namespace.yaml
|
- base/open-webui.yaml
|
||||||
- base/ollama-service.yaml
|
- base/ollama-service.yaml
|
||||||
- base/ollama-statefulset.yaml
|
- base/ollama-statefulset.yaml
|
||||||
- base/webui-deployment.yaml
|
- base/webui-deployment.yaml
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: apps/v1
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: ollama
|
name: ollama
|
||||||
namespace: ollama-namespace
|
namespace: open-webui
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|
Loading…
Reference in a new issue