From 7b50b0fee7af8822f82b6be75afd48040e657c30 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 23 Oct 2024 09:36:43 +0000 Subject: [PATCH] Update perfectscale-agent chart with new package version v1.0.43 --- charts/perfectscale-agent/templates/deployment.yaml | 2 ++ charts/perfectscale-agent/values.yaml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/perfectscale-agent/templates/deployment.yaml b/charts/perfectscale-agent/templates/deployment.yaml index 42355ac..e837628 100644 --- a/charts/perfectscale-agent/templates/deployment.yaml +++ b/charts/perfectscale-agent/templates/deployment.yaml @@ -98,6 +98,8 @@ spec: value: "{{ include "helm.exporter.clusterUID" . }}" - name: CLUSTER_RESILIENCE_LEVEL value: "{{ .Values.settings.clusterResilienceLevel }}" + - name: CLUSTER_OPTIMIZATION_POLICY + value: "{{ .Values.settings.clusterOptimizationPolicy }}" - name: DEMO_ENV_ADDRESS value: "{{ .Values.settings.demoEnvAddress }}" - name: ENABLE_PPROF diff --git a/charts/perfectscale-agent/values.yaml b/charts/perfectscale-agent/values.yaml index 2d1c9f6..6c25946 100644 --- a/charts/perfectscale-agent/values.yaml +++ b/charts/perfectscale-agent/values.yaml @@ -2,7 +2,7 @@ replicaCount: 1 image: repository: public.ecr.aws/perfectscale-io/psc-exporter pullPolicy: Always - tag: "v1.0.42" + tag: "v1.0.43" initContainer: image: repository: public.ecr.aws/perfectscale-io/alpine @@ -28,7 +28,10 @@ settings: podRegex: "" containerRegex: "" # supported resilience levels: low, medium, high, highest + # deprecated field since we introduced the clusterOptimizationPolicy clusterResilienceLevel: "medium" + # supported optimization policies: MaxSavings, Balanced, ExtraHeadroom, MaxHeadroom + clusterOptimizationPolicy: "Balanced" clusterName: "" collectorNumWorkers: "4" # ksmAddress: "http://kube-state-metrics:8080"