Skip to content

Commit 21ed2ec

Browse files
authored
make memory limit settable when PROMETHES_SCRAPE_KUBELETS = True (#35)
Signed-off-by: Alex Castilio dos Santos <alexsantos@microsoft.com>
1 parent 08dc362 commit 21ed2ec

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

clusterloader2/pkg/prometheus/manifests/prometheus-prometheus.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,8 @@ spec:
3535
memory: {{MultiplyInt $PROMETHEUS_MEMORY_SCALE_FACTOR (AddInt 1 (DivideInt .Nodes 1000))}}Gi
3636
{{end}}
3737
limits:
38-
{{if $PROMETHEUS_SCRAPE_KUBELETS}}
39-
memory: 10Gi
40-
{{else}}
4138
# Default: Start with 2Gi and add 2Gi for each 1K nodes.
4239
memory: {{MultiplyInt $PROMETHEUS_MEMORY_SCALE_FACTOR (AddInt 1 (DivideInt .Nodes 1000))}}Gi
43-
{{end}}
4440
ruleSelector:
4541
matchLabels:
4642
prometheus: k8s

0 commit comments

Comments
 (0)