Compare commits
2 Commits
2a5d5af180
...
4be4b1168c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4be4b1168c | ||
|
|
5588eff8c8 |
@@ -4,6 +4,7 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- external-secrets.yaml
|
- external-secrets.yaml
|
||||||
- local-pv.yaml
|
- local-pv.yaml
|
||||||
|
- open-terminal.yaml
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: ollama
|
- name: ollama
|
||||||
|
|||||||
48
k8s/apps/ollama/open-terminal.yaml
Normal file
48
k8s/apps/ollama/open-terminal.yaml
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: open-terminal
|
||||||
|
labels:
|
||||||
|
app: open-terminal
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: open-terminal
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: open-terminal
|
||||||
|
spec:
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: uk-desktop.tail2fe2d.ts.net
|
||||||
|
containers:
|
||||||
|
- name: open-terminal
|
||||||
|
image: ghcr.io/open-webui/open-terminal:slim
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
env:
|
||||||
|
- name: OPEN_TERMINAL_API_KEY
|
||||||
|
value: "LOCAL_ACCESS_TOKEN"
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 256Mi
|
||||||
|
limits:
|
||||||
|
cpu: "2"
|
||||||
|
memory: 2Gi
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: open-terminal
|
||||||
|
labels:
|
||||||
|
app: open-terminal
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: open-terminal
|
||||||
|
ports:
|
||||||
|
- port: 8000
|
||||||
|
targetPort: 8000
|
||||||
|
protocol: TCP
|
||||||
Reference in New Issue
Block a user