From dc3ac89453f9dad3229e4bfbb35d88cb0bf33aad Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Thu, 5 Dec 2024 19:39:17 +0800 Subject: [PATCH] [KYUUBI #6839] Add example for service monitor in Helm chart ### Why are the changes needed? Adding an example to `servicemonitor` in values.yaml to improve the usability . ### How was this patch tested? execute command `helm install kyuubi-test .` check the servicemonitor after deployment ### Was this patch authored or co-authored using generative AI tooling? No Closes #6839 from zhifanggao/add_default_endpoints. Closes #6839 59aac4142 [Cheng Pan] Update charts/kyuubi/values.yaml 869f45e79 [zhifanggao] include the key itself Lead-authored-by: Cheng Pan Co-authored-by: zhifanggao <28681649@qq.com> Signed-off-by: Cheng Pan --- charts/kyuubi/values.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/kyuubi/values.yaml b/charts/kyuubi/values.yaml index 1f35c9ba8..51c6717ec 100644 --- a/charts/kyuubi/values.yaml +++ b/charts/kyuubi/values.yaml @@ -289,6 +289,8 @@ metrics: enabled: false # List of service endpoints serving metrics to be scraped by Prometheus, see Prometheus Operator docs for more details endpoints: [] + # endpoints: + # - port: prometheus # Additional labels to be used to make ServiceMonitor discovered by Prometheus labels: {}