ingress dump
This commit is contained in:
@@ -15,8 +15,41 @@ spec:
|
|||||||
chart: open-webui
|
chart: open-webui
|
||||||
targetRevision: "*"
|
targetRevision: "*"
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
values: |
|
||||||
- apps/values/openwebui.yaml
|
image:
|
||||||
|
repository: ghcr.io/open-webui/open-webui
|
||||||
|
tag: "main"
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
size: 5Gi
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
className: nginx
|
||||||
|
hosts:
|
||||||
|
- host: openwebui.local
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
tls: []
|
||||||
|
|
||||||
|
# NO SECRETS!!!
|
||||||
|
extraEnvVars:
|
||||||
|
- name: OLLAMA_BASE_URL
|
||||||
|
value: "https://mlep.ion606.com"
|
||||||
|
- name: DATABASE_URL
|
||||||
|
value: "postgresql://postgres:mypassword@postgresql-primary.ai.svc.cluster.local:5432/openwebui"
|
||||||
|
- name: VECTOR_DB
|
||||||
|
value: "pgvector"
|
||||||
|
- name: PGVECTOR_DB_URL
|
||||||
|
value: "postgresql://postgres:mypassword@postgresql-primary.ai.svc.cluster.local:5432/openwebui"
|
||||||
|
- name: PGVECTOR_CREATE_EXTENSION
|
||||||
|
value: "true"
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
|
|||||||
@@ -4,22 +4,21 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: NodePort # or ClusterIP if actually using ingress below
|
type: ClusterIP # use Ingress for external access
|
||||||
nodePort: 4000
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false # set true for http://openwebui.local via nginx
|
enabled: true # expose via nginx ingress
|
||||||
className: nginx
|
className: nginx
|
||||||
hosts:
|
hosts:
|
||||||
- host: openwebui.local
|
- host: openwebui.local
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
tls: [] # no https bc I lazy
|
tls: [] # no https for local/minikube
|
||||||
|
|
||||||
# NO SECRETS!!!
|
# NO SECRETS!!!
|
||||||
extraEnvVars:
|
extraEnvVars:
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: ollama-scheduler
|
||||||
|
namespace: argo
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
rules:
|
||||||
|
- host: scheduler.local
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: ollama-scheduler
|
||||||
|
port:
|
||||||
|
number: 12253
|
||||||
Reference in New Issue
Block a user