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