commit c437f1ce37bd132d56d860f3d2babd11e53ecaaf Author: Torjus HÃ¥kestad Date: Wed Apr 20 16:40:05 2022 +0000 Initial commit diff --git a/testing/deployment.yml b/testing/deployment.yml new file mode 100644 index 0000000..6c41d58 --- /dev/null +++ b/testing/deployment.yml @@ -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 diff --git a/testing/svc.yml b/testing/svc.yml new file mode 100644 index 0000000..dd89cd4 --- /dev/null +++ b/testing/svc.yml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Service +metadata: + name: minipaste-server +spec: + ports: + - port: 80 + targetPort: 8080 + selector: + app: minipaste-server \ No newline at end of file