From 1c326fc0d7d6316e37285cab22cc779ef6e4c2a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B3=80=EC=A0=95=ED=9B=88?= Date: Tue, 31 Jan 2023 04:30:20 +0000 Subject: [PATCH] App Yaml Template Add --- template/yaml_app.yaml.template | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 template/yaml_app.yaml.template diff --git a/template/yaml_app.yaml.template b/template/yaml_app.yaml.template new file mode 100644 index 0000000..1c0fbda --- /dev/null +++ b/template/yaml_app.yaml.template @@ -0,0 +1,33 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Rollout +metadata: + name: tmaxtestapp + labels: + app: tmaxtestapp + app: reviews +spec: + selector: + matchLabels: + app: tmaxtestapp + app: reviews + template: + metadata: + labels: + app: tmaxtestapp + app: reviews + spec: + containers: + - name: tmaxtestapp + image: {{URL}} + ports: + - name: port + protocol: TCP + containerPort: 9080 + strategy: + canary: + maxSurge: 1 + maxUnavailable: 0 + steps: + - setWeight: 25 + #- pause: { duration: 10s } + - pause: {}