Skip to content

Commit b8037d0

Browse files
authored
Merge pull request #42 from hotosm/raster-autoscaling
Add autoscaling and set higher cpu for raster-eoapi service
2 parents c441c02 + c368f00 commit b8037d0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

kubernetes/helm/eoapi-values.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,31 @@ vector:
1717
# needed currently, so it is disabled to save on some cluster resources.
1818
enabled: false
1919

20+
raster:
21+
autoscaling:
22+
enabled: true
23+
minReplicas: 1
24+
maxReplicas: 6
25+
# `type`: "cpu" || "requestRate" || "both"
26+
type: "cpu"
27+
behaviour:
28+
scaleDown:
29+
stabilizationWindowSeconds: 60
30+
scaleUp:
31+
stabilizationWindowSeconds: 0
32+
targets:
33+
# matches `type` value above unless `type: "both"` is selected
34+
cpu: 85
35+
# requestRate: 15000 ## enable after load testing
36+
settings:
37+
resources:
38+
requests:
39+
cpu: "1024m"
40+
memory: "2Gi"
41+
limits:
42+
cpu: "2048m"
43+
memory: "4Gi"
44+
2045
stac:
2146
image:
2247
# From https://github.com/hotosm/OpenAerialMap/tree/main/backend/stac-api

0 commit comments

Comments
 (0)