Skip to content

Commit

Permalink
remove cpu limits
Browse files Browse the repository at this point in the history
  • Loading branch information
klinch0 committed Nov 4, 2024
1 parent 92ff25b commit 676db03
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/apps/redis/templates/redisfailover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ spec:
cpu: 150m
memory: 400Mi
limits:
cpu: 2
memory: 1000Mi
{{- with .Values.size }}
storage:
Expand All @@ -37,7 +36,7 @@ spec:
storageClassName: {{ . }}
{{- end }}
{{- end }}
exporter:
exporter:
enabled: true
image: oliver006/redis_exporter:v1.55.0-alpine
args:
Expand Down
6 changes: 6 additions & 0 deletions packages/extra/monitoring/templates/vm/vmcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ spec:
resources: {}
vmselect:
replicaCount: 2
resources:
limits:
memory: 1000Mi
requests:
cpu: 100m
memory: 500Mi
extraArgs:
search.maxUniqueTimeseries: "600000"
vmalert.proxyURL: http://vmalert-{{ .name }}.{{ $.Release.Namespace }}.svc:8080
Expand Down
6 changes: 6 additions & 0 deletions packages/system/monitoring-agents/templates/vmagent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ spec:
additionalScrapeConfigs:
name: additional-scrape-configs
key: prometheus-additional.yaml
resources:
limits:
memory: 500Mi
requests:
cpu: 50m
memory: 200Mi
#statefulMode: true
#statefulStorage:
# volumeClaimTemplate:
Expand Down

0 comments on commit 676db03

Please sign in to comment.