Repository navigation
Commit 07020dc
authored
Add region_id to ComputeConfigScalingGroup (#875)
<!-- Describe what has changed in this PR -->
**What changed?**
Adds an optional `region_id` field to `ComputeConfigScalingGroup`. When
set, the scaling group is used only while the namespace is active in
that region. When empty, the scaling group is used as the default, so
existing configurations behave exactly as before.
<!-- Tell your future self why have you made these changes -->
**Why?**
This is to let users configure region specific compute on a Worker
Deployment Version. The Worker Controller Instance can then invoke the
compute that is set for the namespace's active region, so serverless
workers follow the namespace through a failover.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
none
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
none1 parent 5200b88 commit 07020dc
3 files changed
Lines changed: 32 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15134 | 15134 | | |
15135 | 15135 | | |
15136 | 15136 | | |
| 15137 | + | |
| 15138 | + | |
| 15139 | + | |
| 15140 | + | |
| 15141 | + | |
| 15142 | + | |
| 15143 | + | |
15137 | 15144 | | |
15138 | 15145 | | |
15139 | 15146 | | |
| |||
15155 | 15162 | | |
15156 | 15163 | | |
15157 | 15164 | | |
| 15165 | + | |
| 15166 | + | |
| 15167 | + | |
| 15168 | + | |
| 15169 | + | |
| 15170 | + | |
15158 | 15171 | | |
15159 | 15172 | | |
15160 | 15173 | | |
| |||
15166 | 15179 | | |
15167 | 15180 | | |
15168 | 15181 | | |
15169 | | - | |
| 15182 | + | |
15170 | 15183 | | |
15171 | 15184 | | |
15172 | 15185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11249 | 11249 | | |
11250 | 11250 | | |
11251 | 11251 | | |
| 11252 | + | |
| 11253 | + | |
| 11254 | + | |
| 11255 | + | |
| 11256 | + | |
| 11257 | + | |
| 11258 | + | |
11252 | 11259 | | |
11253 | 11260 | | |
11254 | 11261 | | |
| |||
11276 | 11283 | | |
11277 | 11284 | | |
11278 | 11285 | | |
| 11286 | + | |
| 11287 | + | |
| 11288 | + | |
| 11289 | + | |
11279 | 11290 | | |
11280 | 11291 | | |
11281 | 11292 | | |
| |||
11289 | 11300 | | |
11290 | 11301 | | |
11291 | 11302 | | |
11292 | | - | |
| 11303 | + | |
11293 | 11304 | | |
11294 | 11305 | | |
11295 | 11306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
55 | | - | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| 72 | + | |
68 | 73 | | |
0 commit comments