File tree Expand file tree Collapse file tree 10 files changed +99
-11
lines changed Expand file tree Collapse file tree 10 files changed +99
-11
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Build Docker and deploy
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - dag- master
6
6
workflow_dispatch :
7
7
release :
8
8
types : [ published ]
50
50
labels : ${{ steps.docker_meta.outputs.labels }}
51
51
- name : deploy cluster
52
52
# Only deploy on master.
53
- if : github.ref == 'refs/heads/master'
53
+ if : github.ref == 'refs/heads/dag- master'
54
54
shell : bash
55
55
env :
56
56
IMAGE_VERSION : ${{steps.docker_meta.outputs.version}}
Original file line number Diff line number Diff line change 8
8
mode : one
9
9
selector :
10
10
namespaces :
11
- - default
11
+ - starcoin-halley
12
12
labelSelectors :
13
- " app " : " starcoin"
13
+ " app " : " starcoin-0 "
14
14
delay :
15
15
latency : " 100ms"
16
16
correlation : " 25"
Original file line number Diff line number Diff line change 8
8
mode : one
9
9
selector :
10
10
namespaces :
11
- - default
11
+ - starcoin-halley
12
12
labelSelectors :
13
13
" app " : " starcoin"
14
14
direction : to
Original file line number Diff line number Diff line change 8
8
mode : one
9
9
selector :
10
10
namespaces :
11
- - default
11
+ - starcoin-halley
12
12
labelSelectors :
13
13
" app " : " starcoin"
14
14
scheduler :
Original file line number Diff line number Diff line change 8
8
mode : one
9
9
selector :
10
10
namespaces :
11
- - default
11
+ - starcoin-halley
12
12
labelSelectors :
13
- " app " : " starcoin"
13
+ " app " : " starcoin-0 "
14
14
scheduler :
15
15
cron : " @every 20m"
Original file line number Diff line number Diff line change
1
+ kind : Schedule
2
+ apiVersion : chaos-mesh.org/v1alpha1
3
+ metadata :
4
+ namespace : starcoin-halley
5
+ name : networkdelay
6
+ spec :
7
+ schedule : ' */15 * * * *'
8
+ startingDeadlineSeconds : null
9
+ concurrencyPolicy : Forbid
10
+ historyLimit : 1
11
+ type : NetworkChaos
12
+ networkChaos :
13
+ selector :
14
+ namespaces :
15
+ - starcoin-halley
16
+ pods :
17
+ starcoin-halley :
18
+ - starcoin-0
19
+ - starcoin-1
20
+ - starcoin-2
21
+ mode : one
22
+ action : delay
23
+ duration : 5m
24
+ delay :
25
+ latency : 50000ms
26
+ correlation : ' 0'
27
+ jitter : 50m
28
+ direction : to
29
+ target :
30
+ selector :
31
+ namespaces :
32
+ - starcoin-halley
33
+ pods :
34
+ starcoin-halley :
35
+ - starcoin-0
36
+ - starcoin-1
37
+ - starcoin-2
38
+ mode : one
Original file line number Diff line number Diff line change
1
+ kind : Schedule
2
+ apiVersion : chaos-mesh.org/v1alpha1
3
+ metadata :
4
+ namespace : starcoin-halley
5
+ name : networkpartition
6
+ spec :
7
+ schedule : ' */30 * * * *'
8
+ startingDeadlineSeconds : null
9
+ concurrencyPolicy : Forbid
10
+ historyLimit : 1000
11
+ type : NetworkChaos
12
+ networkChaos :
13
+ selector :
14
+ namespaces :
15
+ - starcoin-halley
16
+ pods :
17
+ starcoin-halley :
18
+ - starcoin-0
19
+ mode : all
20
+ action : partition
21
+ duration : 5m
22
+ direction : to
23
+ target :
24
+ selector :
25
+ namespaces :
26
+ - starcoin-halley
27
+ pods :
28
+ starcoin-halley :
29
+ - starcoin-0
30
+ mode : all
Original file line number Diff line number Diff line change
1
+ kind : Schedule
2
+ apiVersion : chaos-mesh.org/v1alpha1
3
+ metadata :
4
+ namespace : starcoin-halley
5
+ name : podkill
6
+ spec :
7
+ schedule : ' * */1 * * *'
8
+ startingDeadlineSeconds : null
9
+ concurrencyPolicy : Forbid
10
+ historyLimit : 1
11
+ type : PodChaos
12
+ podChaos :
13
+ selector :
14
+ namespaces :
15
+ - starcoin-halley
16
+ pods :
17
+ starcoin-halley :
18
+ - starcoin-1
19
+ mode : all
20
+ action : pod-kill
Original file line number Diff line number Diff line change 7
7
mode : one
8
8
selector :
9
9
namespaces :
10
- - default
10
+ - starcoin-halley
11
11
labelSelectors :
12
12
" app " : " starcoin"
13
13
timeOffset : " -10m"
Original file line number Diff line number Diff line change 11
11
matchLabels :
12
12
app : starcoin
13
13
serviceName : starcoin-svc
14
- replicas : 1
14
+ replicas : 3
15
15
template :
16
16
metadata :
17
17
name : starcoin
23
23
starcoin/node-pool : seed-pool
24
24
containers :
25
25
- name : starcoin
26
- image : starcoin/starcoin:halley24_force_upgrade_v11
26
+ image : starcoin/starcoin:dag-master
27
27
imagePullPolicy : Always
28
28
command :
29
29
- bash
You can’t perform that action at this time.
0 commit comments