From 96ea3a5d1fb53b29b07eb65dad2bbaf53a60354d Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Thu, 17 Apr 2025 23:16:12 +0200 Subject: [PATCH] [monitoring] fix vpa for vmagent delete resources (#820) ## Summary by CodeRabbit - **Chores** - Updated resource allocation settings for monitoring agents by removing predefined CPU and memory limits. - Added an option to specify separate resource settings for the config reloader component. --- packages/system/monitoring-agents/templates/vmagent.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/system/monitoring-agents/templates/vmagent.yaml b/packages/system/monitoring-agents/templates/vmagent.yaml index 78c6d46f..af852c73 100644 --- a/packages/system/monitoring-agents/templates/vmagent.yaml +++ b/packages/system/monitoring-agents/templates/vmagent.yaml @@ -20,12 +20,8 @@ spec: additionalScrapeConfigs: name: additional-scrape-configs key: prometheus-additional.yaml - resources: - limits: - memory: 1024Mi - requests: - cpu: 50m - memory: 768Mi + resources: {} + configReloaderResources: {} #statefulMode: true #statefulStorage: # volumeClaimTemplate: