Skip to content

Commit

Permalink
make sure limits are not capped to 10Gi
Browse files Browse the repository at this point in the history
  • Loading branch information
hakuna-matatah committed Dec 1, 2023
1 parent 709795e commit da63d7a
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ spec:
# Start with 2Gi and add 2Gi for each 1K nodes.
memory: {{MultiplyInt $PROMETHEUS_MEMORY_SCALE_FACTOR (AddInt 1 (DivideInt .Nodes 1000))}}Gi
{{end}}
limits:
{{if $PROMETHEUS_SCRAPE_KUBELETS}}
memory: 10Gi
{{else}}
# Default: Start with 2Gi and add 2Gi for each 1K nodes.
memory: {{MultiplyInt $PROMETHEUS_MEMORY_SCALE_FACTOR (AddInt 1 (DivideInt .Nodes 1000))}}Gi
{{end}}
ruleSelector:
matchLabels:
prometheus: k8s
Expand Down

0 comments on commit da63d7a

Please sign in to comment.