From 6b7fbbd53003ff9800e5a65fb69ff6a788ac4f45 Mon Sep 17 00:00:00 2001 From: zhaoshuaihua Date: Wed, 4 Sep 2024 16:18:25 +0800 Subject: [PATCH 1/2] [Doc]Fix typo in managing-optimizers.md --- docs/admin-guides/managing-optimizers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin-guides/managing-optimizers.md b/docs/admin-guides/managing-optimizers.md index 421d61e2d8..71f4c313da 100644 --- a/docs/admin-guides/managing-optimizers.md +++ b/docs/admin-guides/managing-optimizers.md @@ -70,7 +70,7 @@ The supported parameters include: ### Kubernetes container Kubernetes container is a way to start Optimizer On K8s with standalone Optimizer. -To use flink container, you need to add a new container configuration. +To use Kubernetes container, you need to add a new container configuration. with container-impl as `org.apache.amoro.server.manager.KubernetesOptimizerContainer` Kubernetes container support the following properties: From 78a4b8a85b677753e3f6cd52a5bb52ce591cfbe2 Mon Sep 17 00:00:00 2001 From: zhaoshuaihua Date: Fri, 6 Sep 2024 15:21:32 +0800 Subject: [PATCH 2/2] [AMORO-3178]Change the default configuration of values.yaml to improve user experience --- 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