Skip to content

Commit

Permalink
Reduces probability to 50% for select virtual sites (#336)
Browse files Browse the repository at this point in the history
The virtual sites affected by this commit are in metros where M-Lab currently
has at least one or more physical sites. The idea is to push more clients to
the physical site(s) in these metros, since those costs are fixed. Setting
these sites to 50% probability should save quite a lot of GCP Internet egress
traffic.
  • Loading branch information
nkinkade authored May 20, 2024
1 parent e2e1a6a commit ec4b032
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions sites/ams10.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'ams10',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/bom03.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'bom03',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/bom05.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'bom05',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/bom06.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'bom06',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/bru06.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'bru06',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/del05.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'del05',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/dfw09.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'dfw09',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/dfw12.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'dfw12',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/fra07.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'fra07',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/gru05.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'gru05',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/gru06.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'gru06',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/hkg04.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'hkg04',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/hnd07.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'hnd07',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/iad09.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'iad09',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/jnb02.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'jnb02',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/lax07.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'lax07',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/lax10.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'lax10',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
2 changes: 1 addition & 1 deletion sites/lhr10.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'lhr10',
annotations+: {
type: 'virtual',
probability: 0.5,
provider: 'gcp',
},
machines: {
Expand Down
1 change: 1 addition & 0 deletions sites/mad07.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'mad07',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/mil08.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'mil08',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/par08.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'par08',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/scl06.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'scl06',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/sin02.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'sin02',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/syd08.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'syd08',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/tpe02.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'tpe02',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/trn03.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'trn03',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/yul07.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'yul07',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/yul08.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'yul08',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down
1 change: 1 addition & 0 deletions sites/yyz07.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local sitesDefault = import 'sites/_default_virtual.jsonnet';
sitesDefault {
name: 'yyz07',
annotations+: {
probability: 0.5,
provider: 'gcp',
},
machines+: {
Expand Down

0 comments on commit ec4b032

Please sign in to comment.