ingress dump
This commit is contained in:
@@ -15,8 +15,41 @@ spec:
|
||||
chart: open-webui
|
||||
targetRevision: "*"
|
||||
helm:
|
||||
valueFiles:
|
||||
- apps/values/openwebui.yaml
|
||||
values: |
|
||||
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:
|
||||
automated:
|
||||
prune: true
|
||||
|
||||
@@ -4,22 +4,21 @@ image:
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
service:
|
||||
type: NodePort # or ClusterIP if actually using ingress below
|
||||
nodePort: 4000
|
||||
type: ClusterIP # use Ingress for external access
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 5Gi
|
||||
|
||||
ingress:
|
||||
enabled: false # set true for http://openwebui.local via nginx
|
||||
enabled: true # expose via nginx ingress
|
||||
className: nginx
|
||||
hosts:
|
||||
- host: openwebui.local
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls: [] # no https bc I lazy
|
||||
tls: [] # no https for local/minikube
|
||||
|
||||
# NO SECRETS!!!
|
||||
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