deployemnt stuff

This commit is contained in:
2024-12-08 15:58:32 +01:00
parent 144caf2991
commit 9c58554b5a
6 changed files with 131 additions and 0 deletions

27
deployment/proxy.yml Normal file
View File

@@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: backend-deployment
namespace: osu-music
spec:
replicas: 1
selector:
matchLabels:
app: backend
template:
metadata:
labels:
app: backend
spec:
containers:
- name: proxy-container
image: proxy
ports:
- containerPort: 80
volumeMounts:
- name: proxy-data
mountPath: /app/data
volumes:
- name: proxy-data
persistentVolumeClaim:
claimName: proxy-data-pvc