more fixes and value files
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: ollama, namespace: ai }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://helm.otwld.com
|
||||
chart: ollama
|
||||
targetRevision: "*"
|
||||
helm:
|
||||
values: |
|
||||
service: { type: ClusterIP }
|
||||
# add gpu values later if your node has one
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: open-webui, namespace: ai }
|
||||
metadata: { name: openwebui, namespace: argocd }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
@@ -9,15 +9,6 @@ spec:
|
||||
chart: open-webui
|
||||
targetRevision: "*"
|
||||
helm:
|
||||
values: |
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 5Gi
|
||||
service: { type: ClusterIP }
|
||||
ingress:
|
||||
enabled: true
|
||||
className: nginx
|
||||
hosts:
|
||||
- host: openwebui.local
|
||||
paths: [{ path: "/", pathType: Prefix }]
|
||||
valueFiles:
|
||||
- apps/values/openwebui.yaml
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
|
||||
@@ -2,21 +2,12 @@ apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: postgresql, namespace: ai }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://charts.bitnami.com/bitnami
|
||||
chart: postgresql
|
||||
targetRevision: "*"
|
||||
helm:
|
||||
values: |
|
||||
architecture: replication
|
||||
auth:
|
||||
username: openwebui
|
||||
password: openwebui-pass
|
||||
database: openwebui_db
|
||||
primary:
|
||||
persistence: { enabled: true, size: 5Gi }
|
||||
readReplicas:
|
||||
replicaCount: 1
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
valueFiles:
|
||||
- apps/values/postgresql.yaml
|
||||
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
|
||||
@@ -2,13 +2,10 @@ apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: searxng, namespace: ai }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://charts.kubito.dev
|
||||
repoURL: https://charts.kubito.dev # alt charts.searxng.org
|
||||
chart: searxng
|
||||
targetRevision: "*"
|
||||
helm:
|
||||
values: |
|
||||
service: { type: ClusterIP }
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
valueFiles:
|
||||
- apps/values/searxng.yaml
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
image:
|
||||
repository: ghcr.io/open-webui/open-webui
|
||||
tag: "main"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
service:
|
||||
type: NodePort # or ClusterIP if you’ll use ingress below
|
||||
nodePort: 4000
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 5Gi
|
||||
|
||||
ingress:
|
||||
enabled: false # set true fo http://openwebui.local via nginx
|
||||
className: nginx
|
||||
hosts:
|
||||
- host: openwebui.local
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls: [] # no https bc I lazy
|
||||
|
||||
# NO SECRETS!!!
|
||||
extraEnvVars:
|
||||
- name: OLLAMA_BASE_URL
|
||||
value: "https://mlep.ion606.com"
|
||||
# use postgres as primary db
|
||||
- name: DATABASE_URL
|
||||
value: "postgresql://postgres:mypassword@postgresql-primary.ai.svc.cluster.local:5432/openwebui"
|
||||
# store vectors in pgvector (on the same postgres)
|
||||
- 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"
|
||||
# set canonical url for oauth/web search callbacks, etc.
|
||||
- name: WEBUI_URL
|
||||
value: "http://openwebui.local"
|
||||
@@ -0,0 +1,21 @@
|
||||
architecture: replication
|
||||
|
||||
auth:
|
||||
username: postgres
|
||||
password: mypassword
|
||||
database: openwebui
|
||||
|
||||
primary:
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 8Gi
|
||||
service:
|
||||
type: ClusterIP
|
||||
|
||||
readReplicas:
|
||||
replicaCount: 1
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 8Gi
|
||||
service:
|
||||
type: ClusterIP
|
||||
@@ -0,0 +1,20 @@
|
||||
image:
|
||||
repository: searxng/searxng
|
||||
tag: "latest"
|
||||
|
||||
service:
|
||||
type: NodePort # or ClusterIP if using ingress
|
||||
# nodePort: 30081
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
className: nginx
|
||||
hosts:
|
||||
- host: searxng.local
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
# env:
|
||||
# SEARXNG_SECRET: "please-change-me"
|
||||
# # helps with URL generation & results links
|
||||
# BASE_URL: "http://searxng.local/"
|
||||
Reference in New Issue
Block a user