memestream

This commit is contained in:
ntr 2024-04-13 23:41:04 +10:00
parent 5dcb8503a5
commit 3214d443c9
4 changed files with 66 additions and 3 deletions

View File

@ -0,0 +1,44 @@
---
# -----------------------------------------------------------------------
# DEPLOYMENTS
# -----------------------------------------------------------------------
apiVersion: apps/v1
kind: Deployment
metadata:
name: memestream-client
spec:
replicas: 1
selector:
matchLabels:
app: memestream-client
template:
metadata:
labels:
app: memestream-client
spec:
containers:
- name: memestream-client
image: registry.strix.systems/memestream-client
imagePullPolicy: Always
ports:
- containerPort: 8080
---
# -----------------------------------------------------------------------
# SERVICES
# -----------------------------------------------------------------------
---
apiVersion: v1
kind: Service
metadata:
name: memestream-client
spec:
selector:
app: memestream-client
ports:
- port: 8080

View File

@ -9,9 +9,10 @@ spec:
tls:
- hosts:
- memestream.strix.systems
- search.memestream.strix.systems
secretName: memestream-strix-systems-tls
rules:
- host: memestream.strix.systems
- host: search.memestream.strix.systems
http:
paths:
- path: /
@ -20,4 +21,14 @@ spec:
service:
name: memestream-meili
port:
number: 7700
number: 7700
- host: memestream.strix.systems
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: memestream-client
port:
number: 8080

View File

@ -149,13 +149,18 @@ spec:
key: MEILI_MASTER_KEY
volumeMounts:
- name: memestream-meili-storage
mountPath: /data/meili
mountPath: /meili_data
resources:
limits:
memory: "1Gi"
cpu: "1000m"
volumes:
- name: memestream-meili-storage
persistentVolumeClaim:
claimName: memestream-meili-pvc
---
# -----------------------------------------------------------------------

View File

@ -77,6 +77,9 @@ spec:
secretKeyRef:
name: minio
key: MINIO_ROOT_PASSWORD
resources:
limits:
memory: "1Gi"
ports:
- name: console
containerPort: 9090