Skip to content

Commit

Permalink
fix(helm): store gateway scale gomemlimit to 0.9 of request
Browse files Browse the repository at this point in the history
  • Loading branch information
edwintye committed Nov 28, 2024
1 parent 1deec46 commit 7b5ef6a
Show file tree
Hide file tree
Showing 24 changed files with 66 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ spec:
{{- end }}
{{- if $mem_request }}
- name: "GOMEMLIMIT"
value: {{include "mimir.siToBytes" (dict "value" $mem_request) | toString | toYaml }}
value: {{include "mimir.siToBytes" (dict "value" $mem_request) | mulf 0.9 | floor | int64 }}
{{- end }}
{{- if $jaeger_queue_size }}
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -297,7 +297,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -448,6 +448,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -279,7 +279,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -421,6 +421,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -269,7 +269,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -406,6 +406,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -269,7 +269,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -406,6 +406,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -269,7 +269,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -406,6 +406,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -269,7 +269,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -406,6 +406,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "6442450944"
value: 5798205849
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -301,7 +301,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "6442450944"
value: 5798205849
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -454,6 +454,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "6442450944"
value: 5798205849
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -273,7 +273,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -412,6 +412,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -271,7 +271,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -409,6 +409,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "1610612736"
value: 1449551462
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -301,7 +301,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "1610612736"
value: 1449551462
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -454,6 +454,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "1610612736"
value: 1449551462
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -279,7 +279,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -421,6 +421,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -263,7 +263,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -397,6 +397,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -273,7 +273,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -412,6 +412,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -283,7 +283,7 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
---
Expand Down Expand Up @@ -427,6 +427,6 @@ spec:
- name: "GOMAXPROCS"
value: "5"
- name: "GOMEMLIMIT"
value: "536870912"
value: 483183820
- name: "JAEGER_REPORTER_MAX_QUEUE_SIZE"
value: "1000"
Loading

0 comments on commit 7b5ef6a

Please sign in to comment.