Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alina #1

Open
wants to merge 76 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
18c481c
pushing new rollout image tag()
oleksandr-codefresh Sep 19, 2022
ebab9cc
pushing new rollout image tag()
oleksandr-codefresh Sep 19, 2022
dd5cc09
pushing new rollout image tag()
oleksandr-codefresh Sep 19, 2022
79d53c8
Update canary-rollout.yaml
oleksandr-codefresh Sep 19, 2022
080917c
purple
oleksandr-codefresh Sep 19, 2022
20b4d0d
Update canary-rollout.yaml
oleksandr-codefresh Sep 19, 2022
0987df8
blue healthy
oleksandr-codefresh Sep 19, 2022
f1ffdc1
Update canary-rollout.yaml
oleksandr-codefresh Sep 20, 2022
0f93074
Update canary-rollout.yaml
oleksandr-codefresh Sep 20, 2022
261cce0
Update canary-rollout.yaml
oleksandr-codefresh Sep 20, 2022
3dbcd56
reeeed
oleksandr-codefresh Sep 20, 2022
13d0b3f
blue
oleksandr-codefresh Sep 26, 2022
3bcfc99
orange
oleksandr-codefresh Sep 26, 2022
199ec7a
red
oleksandr-codefresh Sep 26, 2022
bb2ba22
green
oleksandr-codefresh Sep 26, 2022
89e53f5
purple
oleksandr-codefresh Sep 27, 2022
35e07bd
red
oleksandr-codefresh Sep 27, 2022
8e5b81a
green
oleksandr-codefresh Sep 27, 2022
d7896c3
blue
oleksandr-codefresh Sep 27, 2022
8c071b7
green
oleksandr-codefresh Sep 27, 2022
3baa698
red
oleksandr-codefresh Sep 27, 2022
0d8b73d
purple
oleksandr-codefresh Sep 27, 2022
cc05faa
red
oleksandr-codefresh Sep 27, 2022
4cba7df
02 tag
oleksandr-codefresh Sep 27, 2022
d65e143
0111111
oleksandr-codefresh Sep 27, 2022
5941aad
02 tag
oleksandr-codefresh Sep 27, 2022
3d1d7f4
01 tag
oleksandr-codefresh Sep 27, 2022
d7b7fda
02 ttt
oleksandr-codefresh Sep 27, 2022
014489f
01111111
oleksandr-codefresh Sep 27, 2022
a7cf981
02 ttttt
oleksandr-codefresh Sep 27, 2022
760e087
011111
oleksandr-codefresh Sep 27, 2022
674ae06
02 ttt
oleksandr-codefresh Sep 27, 2022
f0d6681
01 tag
oleksandr-codefresh Sep 27, 2022
ecea4fa
02 ttt
oleksandr-codefresh Sep 27, 2022
8c1cb52
green
oleksandr-codefresh Sep 28, 2022
f61123e
red
oleksandr-codefresh Sep 28, 2022
2eca0a4
Update canary-rollout.yaml
oleksandr-codefresh Sep 28, 2022
2ff8495
red
oleksandr-codefresh Sep 28, 2022
025deba
Update canary-rollout.yaml
oleksandr-codefresh Sep 28, 2022
f426500
01 tag
oleksandr-codefresh Sep 28, 2022
980b1b5
022222
oleksandr-codefresh Sep 28, 2022
724972f
01111
oleksandr-codefresh Sep 28, 2022
237b87a
red
oleksandr-codefresh Sep 28, 2022
482ff90
02 tag
oleksandr-codefresh Sep 30, 2022
248a82d
01 tag
oleksandr-codefresh Sep 30, 2022
0a23349
02 tag
oleksandr-codefresh Sep 30, 2022
6d80c48
01 tag
oleksandr-codefresh Sep 30, 2022
9a42ebc
022222
oleksandr-codefresh Sep 30, 2022
7e3777b
01 t
oleksandr-codefresh Sep 30, 2022
0ef59bc
02 tag
oleksandr-codefresh Sep 30, 2022
40921ce
01
oleksandr-codefresh Oct 1, 2022
aaf4042
02222
oleksandr-codefresh Oct 1, 2022
f31cfa6
01111
oleksandr-codefresh Oct 1, 2022
24e1932
2222
oleksandr-codefresh Oct 1, 2022
c95f574
111
oleksandr-codefresh Oct 1, 2022
220235a
02 tag
oleksandr-codefresh Oct 1, 2022
80dfd55
01111
oleksandr-codefresh Oct 1, 2022
8611135
green
oleksandr-codefresh Oct 3, 2022
d3df31d
green
oleksandr-codefresh Oct 3, 2022
5685dfb
ks-guestbook-demo:0.2 image
oleksandr-codefresh Oct 4, 2022
2c8aa81
001 tag
oleksandr-codefresh Oct 5, 2022
8085c9b
022222
oleksandr-codefresh Oct 5, 2022
0a8d07c
01111
oleksandr-codefresh Oct 5, 2022
93a0543
01 tag
oleksandr-codefresh Oct 5, 2022
a226334
0222
oleksandr-codefresh Oct 5, 2022
67eba71
111111
oleksandr-codefresh Oct 5, 2022
5b5ef01
0111111
oleksandr-codefresh Oct 5, 2022
a950a01
02 t
oleksandr-codefresh Oct 5, 2022
6fa2197
01-11-30
oleksandr-codefresh Oct 6, 2022
3e93556
02_1203
oleksandr-codefresh Oct 6, 2022
ba65da6
01 tag
oleksandr-codefresh Oct 6, 2022
b1523ba
02 tag
oleksandr-codefresh Oct 6, 2022
4a61eb4
backkk01
oleksandr-codefresh Oct 6, 2022
de50ac1
02tag
oleksandr-codefresh Oct 6, 2022
2b92d19
01
oleksandr-codefresh Oct 6, 2022
15a6949
Update service.yaml
oleksandr-codefresh Oct 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions canary-rollout-ingress/analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
metrics:
- name: pass-roll-2
count: 3
interval: 5s
interval: 20s
failureLimit: 1
provider:
job:
Expand All @@ -21,10 +21,17 @@ spec:
args: [exit 0]
restartPolicy: Never
backoffLimit: 0
---
kind: AnalysisTemplate
apiVersion: argoproj.io/v1alpha1
metadata:
name: mixed-fail
spec:
metrics:
- name: randfail
count: 1
interval: 5s
failureLimit: 1
count: 3
interval: 10s
failureLimit: 3
provider:
job:
spec:
Expand Down
9 changes: 8 additions & 1 deletion canary-rollout-ingress/canary-rollout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@ apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
name: canary-demo
labels:
sdad: sdsd
spec:
progressDeadlineSeconds: 300
replicas: 2
revisionHistoryLimit: 1
strategy:
canary:
steps:
- setWeight: 20
- analysis:
templates:
- templateName: mixed-fail
- pause:
duration: 20s
- analysis:
Expand All @@ -26,7 +33,7 @@ spec:
spec:
containers:
- name: express-microservice
image: idanarbel/rollouts-demo:red
image: gcr.io/heptio-images/ks-guestbook-demo:0.1
ports:
- containerPort: 3000
resources:
Expand Down
46 changes: 46 additions & 0 deletions helm-guestbook/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,49 @@ spec:
selector:
app: {{ template "helm-guestbook.name" . }}
release: {{ .Release.Name }}
---
kind: AnalysisTemplate
apiVersion: argoproj.io/v1alpha1
metadata:
name: mixed-roll-tests
spec:
metrics:
- name: pass-roll-2
count: 3
interval: 20s
failureLimit: 1
provider:
job:
spec:
template:
spec:
containers:
- name: sleep-pass
image: alpine:3.8
command: [sh, -c]
args: [exit 0]
restartPolicy: Never
backoffLimit: 0
---
kind: AnalysisTemplate
apiVersion: argoproj.io/v1alpha1
metadata:
name: mixed-fail
spec:
metrics:
- name: randfail
count: 3
interval: 10s
failureLimit: 3
provider:
job:
spec:
template:
spec:
containers:
- name: sleep-fail
image: alpine:3.8
command: [sh, -c]
args: [FLIP=$(($(($RANDOM%10))%2)) && exit $FLIP]
restartPolicy: Never
backoffLimit: 0