Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
770c6f21
Commit
770c6f21
authored
Feb 19, 2024
by
duhow
Browse files
remove namespace
parent
76a78893
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
7 additions
and
19 deletions
+7
-19
kubernetes/helm/templates/ollama-namespace.yaml
kubernetes/helm/templates/ollama-namespace.yaml
+0
-4
kubernetes/helm/templates/ollama-service.yaml
kubernetes/helm/templates/ollama-service.yaml
+1
-2
kubernetes/helm/templates/ollama-statefulset.yaml
kubernetes/helm/templates/ollama-statefulset.yaml
+1
-2
kubernetes/helm/templates/webui-deployment.yaml
kubernetes/helm/templates/webui-deployment.yaml
+1
-2
kubernetes/helm/templates/webui-ingress.yaml
kubernetes/helm/templates/webui-ingress.yaml
+0
-1
kubernetes/helm/templates/webui-pvc.yaml
kubernetes/helm/templates/webui-pvc.yaml
+2
-3
kubernetes/helm/templates/webui-service.yaml
kubernetes/helm/templates/webui-service.yaml
+1
-2
kubernetes/helm/values.yaml
kubernetes/helm/values.yaml
+1
-3
No files found.
kubernetes/helm/templates/ollama-namespace.yaml
deleted
100644 → 0
View file @
76a78893
apiVersion
:
v1
kind
:
Namespace
metadata
:
name
:
{{
.Values.namespace
}}
\ No newline at end of file
kubernetes/helm/templates/ollama-service.yaml
View file @
770c6f21
...
...
@@ -2,7 +2,6 @@ apiVersion: v1
kind
:
Service
metadata
:
name
:
ollama-service
namespace
:
{{
.Values.namespace
}}
spec
:
type
:
{{
.Values.ollama.service.type
}}
selector
:
...
...
@@ -10,4 +9,4 @@ spec:
ports
:
-
protocol
:
TCP
port
:
{{
.Values.ollama.servicePort
}}
targetPort
:
{{
.Values.ollama.servicePort
}}
\ No newline at end of file
targetPort
:
{{
.Values.ollama.servicePort
}}
kubernetes/helm/templates/ollama-statefulset.yaml
View file @
770c6f21
...
...
@@ -2,7 +2,6 @@ apiVersion: apps/v1
kind
:
StatefulSet
metadata
:
name
:
ollama
namespace
:
{{
.Values.namespace
}}
spec
:
serviceName
:
"
ollama"
replicas
:
{{
.Values.ollama.replicaCount
}}
...
...
@@ -52,4 +51,4 @@ spec:
accessModes
:
[
"
ReadWriteOnce"
]
resources
:
requests
:
storage
:
{{
.Values.ollama.volumeSize
}}
\ No newline at end of file
storage
:
{{
.Values.ollama.volumeSize
}}
kubernetes/helm/templates/webui-deployment.yaml
View file @
770c6f21
...
...
@@ -2,7 +2,6 @@ apiVersion: apps/v1
kind
:
Deployment
metadata
:
name
:
open-webui-deployment
namespace
:
{{
.Values.namespace
}}
spec
:
replicas
:
1
selector
:
...
...
@@ -35,4 +34,4 @@ spec:
volumes
:
-
name
:
webui-volume
persistentVolumeClaim
:
claimName
:
open-webui-pvc
\ No newline at end of file
claimName
:
open-webui-pvc
kubernetes/helm/templates/webui-ingress.yaml
View file @
770c6f21
...
...
@@ -3,7 +3,6 @@ apiVersion: networking.k8s.io/v1
kind
:
Ingress
metadata
:
name
:
open-webui-ingress
namespace
:
{{
.Values.namespace
}}
{{
- if .Values.webui.ingress.annotations
}}
annotations
:
{{
toYaml .Values.webui.ingress.annotations | trimSuffix "\n" | indent 4
}}
...
...
kubernetes/helm/templates/webui-pvc.yaml
View file @
770c6f21
apiVersion
:
v1
kind
:
PersistentVolumeClaim
metadata
:
name
:
open-webui-pvc
labels
:
app
:
open-webui
name
:
open-webui-pvc
namespace
:
{{
.Values.namespace
}}
spec
:
accessModes
:
[
"
ReadWriteOnce"
]
resources
:
requests
:
storage
:
{{
.Values.webui.volumeSize
}}
\ No newline at end of file
storage
:
{{
.Values.webui.volumeSize
}}
kubernetes/helm/templates/webui-service.yaml
View file @
770c6f21
...
...
@@ -2,7 +2,6 @@ apiVersion: v1
kind
:
Service
metadata
:
name
:
open-webui-service
namespace
:
{{
.Values.namespace
}}
spec
:
type
:
{{
.Values.webui.service.type
}}
# Default: NodePort # Use LoadBalancer if you're on a cloud that supports it
selector
:
...
...
@@ -12,4 +11,4 @@ spec:
port
:
{{
.Values.webui.servicePort
}}
targetPort
:
{{
.Values.webui.servicePort
}}
# If using NodePort, you can optionally specify the nodePort:
# nodePort: 30000
\ No newline at end of file
# nodePort: 30000
kubernetes/helm/values.yaml
View file @
770c6f21
namespace
:
open-webui
ollama
:
replicaCount
:
1
image
:
ollama/ollama:latest
...
...
@@ -41,4 +39,4 @@ webui:
nodeSelector
:
{}
tolerations
:
[]
service
:
type
:
NodePort
\ No newline at end of file
type
:
NodePort
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment