Initial commit

This commit is contained in:
Torjus Håkestad 2022-04-20 16:40:05 +00:00
commit c437f1ce37
2 changed files with 34 additions and 0 deletions

24
testing/deployment.yml Normal file
View File

@ -0,0 +1,24 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: minipaste-server
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app: minipaste-server
template:
metadata:
labels:
app: minipaste-server
spec:
containers:
- image: registry.t-juice.club/torjus/minipate:latest
resources:
limits:
memory: 50Mi
cpu: 500m
name: minipaste-server
ports:
- containerPort: 8080

10
testing/svc.yml Normal file
View File

@ -0,0 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: minipaste-server
spec:
ports:
- port: 80
targetPort: 8080
selector:
app: minipaste-server