From 799e7f72a74f6c0d1449d2a9bfdf6e5061954cee Mon Sep 17 00:00:00 2001 From: M9713 <m9713@student.jamk.fi> Date: Fri, 22 Oct 2021 19:59:26 +0300 Subject: [PATCH] Add new file --- deployment.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 deployment.yaml diff --git a/deployment.yaml b/deployment.yaml new file mode 100644 index 0000000..c3def1f --- /dev/null +++ b/deployment.yaml @@ -0,0 +1,30 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: temp + name: temp + namespace: default +spec: + replicas: 2 + selector: + matchLabels: + app: temp + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% + type: RollingUpdate + template: + metadata: + labels: + app: temp + spec: + containers: + - image: gitlab.labranet.jamk.fi:4567/conduitmiau/kubetest:backend + imagePullPolicy: Always + name: backend + + - image: gitlab.labranet.jamk.fi:4567/conduitmiau/kubetest:front + imagePullPolicy: Always + name: frontend -- GitLab