memestream
This commit is contained in:
parent
5dcb8503a5
commit
3214d443c9
44
memestream/memestream.client.yaml
Normal file
44
memestream/memestream.client.yaml
Normal 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
|
||||||
@ -9,9 +9,10 @@ spec:
|
|||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- memestream.strix.systems
|
- memestream.strix.systems
|
||||||
|
- search.memestream.strix.systems
|
||||||
secretName: memestream-strix-systems-tls
|
secretName: memestream-strix-systems-tls
|
||||||
rules:
|
rules:
|
||||||
- host: memestream.strix.systems
|
- host: search.memestream.strix.systems
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
@ -20,4 +21,14 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: memestream-meili
|
name: memestream-meili
|
||||||
port:
|
port:
|
||||||
number: 7700
|
number: 7700
|
||||||
|
- host: memestream.strix.systems
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: memestream-client
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
@ -149,13 +149,18 @@ spec:
|
|||||||
key: MEILI_MASTER_KEY
|
key: MEILI_MASTER_KEY
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: memestream-meili-storage
|
- name: memestream-meili-storage
|
||||||
mountPath: /data/meili
|
mountPath: /meili_data
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: "1Gi"
|
||||||
|
cpu: "1000m"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: memestream-meili-storage
|
- name: memestream-meili-storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: memestream-meili-pvc
|
claimName: memestream-meili-pvc
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# -----------------------------------------------------------------------
|
# -----------------------------------------------------------------------
|
||||||
|
|||||||
@ -77,6 +77,9 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: minio
|
name: minio
|
||||||
key: MINIO_ROOT_PASSWORD
|
key: MINIO_ROOT_PASSWORD
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: "1Gi"
|
||||||
ports:
|
ports:
|
||||||
- name: console
|
- name: console
|
||||||
containerPort: 9090
|
containerPort: 9090
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user