From c437f1ce37bd132d56d860f3d2babd11e53ecaaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Wed, 20 Apr 2022 16:40:05 +0000 Subject: [PATCH] Initial commit --- testing/deployment.yml | 24 ++++++++++++++++++++++++ testing/svc.yml | 10 ++++++++++ 2 files changed, 34 insertions(+) create mode 100644 testing/deployment.yml create mode 100644 testing/svc.yml 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