final attempt before I give up for today

This commit is contained in:
ION606
2025-09-13 22:13:34 -04:00
parent 2c538a1cf9
commit bf98e2055e
6 changed files with 128 additions and 124 deletions
+3 -2
View File
@@ -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
+3 -2
View File
@@ -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
+12 -13
View File
@@ -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
+15 -16
View File
@@ -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
+9 -7
View File
@@ -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
+9 -7
View File
@@ -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