Skip to content

Commit 343406a

Browse files
committed
Roll-out per-group quota policy to earthscope prod
Ref https://2i2c.freshdesk.com/a/tickets/5915
1 parent cdb1337 commit 343406a

2 files changed

Lines changed: 25 additions & 34 deletions

File tree

config/clusters/earthscope/common.values.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,31 @@ basehub:
157157
window: 30
158158
intersection: max
159159
failover_open: true
160+
policy:
161+
- resource: memory
162+
limit:
163+
value: 5000
164+
unit: GiB-hours
165+
window: 30
166+
scope:
167+
group:
168+
- mem-sm
169+
- resource: memory
170+
limit:
171+
value: 10000
172+
unit: GiB-hours
173+
window: 30
174+
scope:
175+
group:
176+
- mem-md
177+
- resource: memory
178+
limit:
179+
value: 50000
180+
unit: GiB-hours
181+
window: 30
182+
scope:
183+
group:
184+
- mem-lg
160185
service:
161186
extraPorts:
162187
- port: 9000

config/clusters/earthscope/staging.values.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -18,40 +18,6 @@ basehub:
1818
refresh_pre_spawn: true
1919
admin_groups:
2020
- geolab-admin
21-
UsageQuotaManager:
22-
scope_backup_strategy:
23-
empty:
24-
resource: memory
25-
limit:
26-
value: 2500
27-
unit: GiB-hours
28-
window: 30
29-
intersection: max
30-
policy:
31-
- resource: memory
32-
limit:
33-
value: 5000
34-
unit: GiB-hours
35-
window: 30
36-
scope:
37-
group:
38-
- mem-sm
39-
- resource: memory
40-
limit:
41-
value: 10000
42-
unit: GiB-hours
43-
window: 30
44-
scope:
45-
group:
46-
- mem-md
47-
- resource: memory
48-
limit:
49-
value: 50000
50-
unit: GiB-hours
51-
window: 30
52-
scope:
53-
group:
54-
- mem-lg
5521
loadRoles:
5622
dask-users:
5723
scopes:

0 commit comments

Comments
 (0)