From 0ffdec22b3834172115094d866f6d0ae0ef47575 Mon Sep 17 00:00:00 2001 From: berylzsh <50791733+upczsh@users.noreply.github.com> Date: Sat, 12 Oct 2024 14:22:45 +0800 Subject: [PATCH] [Improvement][AMORO-3178]: Change the default configuration of values.yaml to improve user experience (#3179) * [Doc]Fix typo in managing-optimizers.md * [AMORO-3178]Change the default configuration of values.yaml to improve user experience --------- Co-authored-by: zhaoshuaihua Co-authored-by: ZhouJinsong --- charts/amoro/templates/_pod.tpl | 2 +- charts/amoro/values.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/amoro/templates/_pod.tpl b/charts/amoro/templates/_pod.tpl index 7fe844be31..7218603061 100644 --- a/charts/amoro/templates/_pod.tpl +++ b/charts/amoro/templates/_pod.tpl @@ -120,7 +120,7 @@ spark distribution package will be installed to here*/ -}} {{- if .Values.plugin.metricReporters }} {{- if .Values.plugin.metricReporters.prometheusExporter.enabled }} - name: prometheus - containerPort: {{ .Values.plugin.metricReporters.prometheusExporter.port }} + containerPort: {{ .Values.plugin.metricReporters.prometheusExporter.properties.port }} {{- end -}} {{- end -}} {{- end -}} diff --git a/charts/amoro/values.yaml b/charts/amoro/values.yaml index 74e71e6fe4..acb4fc1146 100644 --- a/charts/amoro/values.yaml +++ b/charts/amoro/values.yaml @@ -282,12 +282,12 @@ plugin: # ## @param Enable or disable the Prometheus exporter # ## # enabled: true -# ## @param Prometheus port -# ## -# port: 7001 # ## @param Properties for the Prometheus exporter # ## -# properties: ~ +# properties: +# ## @param Prometheus port +# ## +# port: 7001 ## Configure the ingress resource that allows you to access the ## Amoro installation. Set up the URL