We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 369016a commit 2316160Copy full SHA for 2316160
1 file changed
manifests/rollout.yaml
@@ -0,0 +1,28 @@
1
+apiVersion: argoproj.io/v1alpha1
2
+kind: Rollout
3
+metadata:
4
+ name: go-simple-webserver
5
+ labels:
6
+ app: go-simple-webserver
7
+spec:
8
+ replicas: 10
9
+ strategy:
10
+ canary:
11
+ steps:
12
+ - setWeight: 50
13
+ - pause: { duration: 60s }
14
+ - setWeight: 100
15
+ selector:
16
+ matchLabels:
17
18
+ template:
19
+ metadata:
20
21
22
+ spec:
23
+ containers:
24
+ - name: webserver
25
+ image: ghcr.io/odefta/ci_cd_lab:latest
26
+ ports:
27
+ - containerPort: 8080
28
+ imagePullPolicy: Always
0 commit comments