From 6e100c801ec3b4c1157d5a821735ed08418ded96 Mon Sep 17 00:00:00 2001 From: M9713 <m9713@student.jamk.fi> Date: Mon, 8 Nov 2021 20:16:50 +0200 Subject: [PATCH] Add new file --- conduit-backend/backend-deployment.yaml | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 conduit-backend/backend-deployment.yaml diff --git a/conduit-backend/backend-deployment.yaml b/conduit-backend/backend-deployment.yaml new file mode 100644 index 0000000..782c289 --- /dev/null +++ b/conduit-backend/backend-deployment.yaml @@ -0,0 +1,29 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: backend + name: backend + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + app: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% + type: RollingUpdate + template: + metadata: + labels: + app: backend + spec: + containers: + - image: gitlab.labranet.jamk.fi:4567/conduitmiau/kubetest:backend + imagePullPolicy: Always + name: backend + + ports: + - containerPort: 3000 -- GitLab