final attempt before I give up for today
This commit is contained in:
@@ -4,14 +4,15 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP # use Ingress for external access
|
type: NodePort # use NodePort instead of ClusterIP so openwebui is accessible externally
|
||||||
|
nodePort: 30400
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true # expose via nginx ingress
|
enabled: false # disable ingress since we'll use NodePort
|
||||||
className: nginx
|
className: nginx
|
||||||
hosts:
|
hosts:
|
||||||
- host: openwebui.local
|
- host: openwebui.local
|
||||||
@@ -34,6 +35,6 @@ extraEnvVars:
|
|||||||
value: "postgresql://postgres:mypassword@postgresql-primary.ai.svc.cluster.local:5432/openwebui"
|
value: "postgresql://postgres:mypassword@postgresql-primary.ai.svc.cluster.local:5432/openwebui"
|
||||||
- name: PGVECTOR_CREATE_EXTENSION
|
- name: PGVECTOR_CREATE_EXTENSION
|
||||||
value: "true"
|
value: "true"
|
||||||
# no bish
|
# no bish
|
||||||
# - name: WEBUI_URL
|
# - name: WEBUI_URL
|
||||||
# value: "http://openwebui.local"
|
# value: "http://openwebui.local"
|
||||||
@@ -3,8 +3,8 @@ image:
|
|||||||
tag: "latest"
|
tag: "latest"
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: NodePort # or ClusterIP if using ingress
|
type: NodePort # expose service externally
|
||||||
# nodePort: 30081
|
nodePort: 30081
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -14,6 +14,7 @@ ingress:
|
|||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
|
|
||||||
# env:
|
# env:
|
||||||
# SEARXNG_SECRET: "please-change-me"
|
# SEARXNG_SECRET: "please-change-me"
|
||||||
# # helps with URL generation & results links
|
# # helps with URL generation & results links
|
||||||
|
|||||||
@@ -18,23 +18,22 @@ spec:
|
|||||||
requests: { cpu: "250m", memory: "256Mi" }
|
requests: { cpu: "250m", memory: "256Mi" }
|
||||||
limits: { cpu: "1", memory: "1Gi" } # hard cap
|
limits: { cpu: "1", memory: "1Gi" } # hard cap
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{
|
httpGet: { path: "/", port: 7788 }
|
||||||
httpGet: { path: "/", port: 7788 },
|
initialDelaySeconds: 5
|
||||||
initialDelaySeconds: 5,
|
periodSeconds: 10
|
||||||
periodSeconds: 10,
|
|
||||||
}
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{
|
httpGet: { path: "/", port: 7788 }
|
||||||
httpGet: { path: "/", port: 7788 },
|
initialDelaySeconds: 15
|
||||||
initialDelaySeconds: 15,
|
periodSeconds: 20
|
||||||
periodSeconds: 20,
|
|
||||||
}
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata: { name: browser, namespace: ai }
|
metadata: { name: browser, namespace: ai }
|
||||||
spec:
|
spec:
|
||||||
selector: { app: browser }
|
selector: { app: browser }
|
||||||
ports: [{ name: http, port: 7788, targetPort: 7788 }]
|
ports:
|
||||||
type: ClusterIP
|
- name: http
|
||||||
|
port: 7788
|
||||||
|
targetPort: 7788
|
||||||
|
nodePort: 30788
|
||||||
|
type: NodePort
|
||||||
@@ -14,23 +14,18 @@ spec:
|
|||||||
ports: [{ containerPort: 8787 }]
|
ports: [{ containerPort: 8787 }]
|
||||||
env:
|
env:
|
||||||
- { name: PORT, value: "8787" }
|
- { name: PORT, value: "8787" }
|
||||||
- {
|
- name: NAMESPACE
|
||||||
name: NAMESPACE,
|
|
||||||
valueFrom:
|
valueFrom:
|
||||||
{ fieldRef: { fieldPath: metadata.namespace } },
|
fieldRef:
|
||||||
}
|
fieldPath: metadata.namespace
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{
|
httpGet: { path: "/openapi.json", port: 8787 }
|
||||||
httpGet: { path: "/openapi.json", port: 8787 },
|
initialDelaySeconds: 5
|
||||||
initialDelaySeconds: 5,
|
periodSeconds: 10
|
||||||
periodSeconds: 10,
|
|
||||||
}
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{
|
httpGet: { path: "/openapi.json", port: 8787 }
|
||||||
httpGet: { path: "/openapi.json", port: 8787 },
|
initialDelaySeconds: 15
|
||||||
initialDelaySeconds: 15,
|
periodSeconds: 20
|
||||||
periodSeconds: 20,
|
|
||||||
}
|
|
||||||
resources:
|
resources:
|
||||||
requests: { cpu: "100m", memory: "128Mi" }
|
requests: { cpu: "100m", memory: "128Mi" }
|
||||||
limits: { cpu: "500m", memory: "512Mi" }
|
limits: { cpu: "500m", memory: "512Mi" }
|
||||||
@@ -40,5 +35,9 @@ kind: Service
|
|||||||
metadata: { name: coderunner, namespace: ai }
|
metadata: { name: coderunner, namespace: ai }
|
||||||
spec:
|
spec:
|
||||||
selector: { app: coderunner }
|
selector: { app: coderunner }
|
||||||
ports: [{ name: http, port: 8787, targetPort: 8787 }]
|
ports:
|
||||||
type: ClusterIP
|
- name: http
|
||||||
|
port: 8787
|
||||||
|
targetPort: 8787
|
||||||
|
nodePort: 31787
|
||||||
|
type: NodePort
|
||||||
|
|||||||
@@ -20,12 +20,10 @@ spec:
|
|||||||
- { name: OLLAMA_CHAT_MODEL, value: "llama3.1" }
|
- { name: OLLAMA_CHAT_MODEL, value: "llama3.1" }
|
||||||
- { name: OLLAMA_EMBED_MODEL, value: "nomic-embed-text" }
|
- { name: OLLAMA_EMBED_MODEL, value: "nomic-embed-text" }
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{ httpGet: { path: "/openapi.json", port: 8788 } }
|
httpGet: { path: "/openapi.json", port: 8788 }
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{
|
httpGet: { path: "/", port: 8788 }
|
||||||
httpGet: { path: "/", port: 8788 },
|
initialDelaySeconds: 10
|
||||||
initialDelaySeconds: 10,
|
|
||||||
}
|
|
||||||
resources:
|
resources:
|
||||||
requests: { cpu: "200m", memory: "256Mi" }
|
requests: { cpu: "200m", memory: "256Mi" }
|
||||||
limits: { cpu: "1", memory: "1Gi" }
|
limits: { cpu: "1", memory: "1Gi" }
|
||||||
@@ -35,5 +33,9 @@ kind: Service
|
|||||||
metadata: { name: rag-server, namespace: ai }
|
metadata: { name: rag-server, namespace: ai }
|
||||||
spec:
|
spec:
|
||||||
selector: { app: rag-server }
|
selector: { app: rag-server }
|
||||||
ports: [{ name: http, port: 8788, targetPort: 8788 }]
|
ports:
|
||||||
type: ClusterIP
|
- name: http
|
||||||
|
port: 8788
|
||||||
|
targetPort: 8788
|
||||||
|
nodePort: 31788
|
||||||
|
type: NodePort
|
||||||
|
|||||||
@@ -16,12 +16,10 @@ spec:
|
|||||||
- { name: PORT, value: "1331" }
|
- { name: PORT, value: "1331" }
|
||||||
- { name: ROKU_IP, value: "192.0.2.10" }
|
- { name: ROKU_IP, value: "192.0.2.10" }
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{ httpGet: { path: "/roku/openapi.json", port: 1331 } }
|
httpGet: { path: "/roku/openapi.json", port: 1331 }
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{
|
httpGet: { path: "/roku/openapi.json", port: 1331 }
|
||||||
httpGet: { path: "/roku/openapi.json", port: 1331 },
|
initialDelaySeconds: 10
|
||||||
initialDelaySeconds: 10,
|
|
||||||
}
|
|
||||||
resources:
|
resources:
|
||||||
requests: { cpu: "100m", memory: "128Mi" }
|
requests: { cpu: "100m", memory: "128Mi" }
|
||||||
limits: { cpu: "500m", memory: "512Mi" }
|
limits: { cpu: "500m", memory: "512Mi" }
|
||||||
@@ -31,5 +29,9 @@ kind: Service
|
|||||||
metadata: { name: tools, namespace: ai }
|
metadata: { name: tools, namespace: ai }
|
||||||
spec:
|
spec:
|
||||||
selector: { app: tools }
|
selector: { app: tools }
|
||||||
ports: [{ name: http, port: 1331, targetPort: 1331 }]
|
ports:
|
||||||
type: ClusterIP
|
- name: http
|
||||||
|
port: 1331
|
||||||
|
targetPort: 1331
|
||||||
|
nodePort: 31331
|
||||||
|
type: NodePort
|
||||||
Reference in New Issue
Block a user