Initial commit
This commit is contained in:
commit
c437f1ce37
24
testing/deployment.yml
Normal file
24
testing/deployment.yml
Normal 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
10
testing/svc.yml
Normal file
@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: minipaste-server
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: minipaste-server
|
Loading…
Reference in New Issue
Block a user