kyuubi/charts/kyuubi
dnskr 2021574a33
[KYUUBI #7105] [K8S][HELM] Support additional labels for PrometheusRule
### Why are the changes needed?
The change is needed to be able to add additional labels to `PrometheusRule` similar to [podMonitor](523722788f/charts/kyuubi/values.yaml (L321-L330)) and [serviceMonitor](523722788f/charts/kyuubi/values.yaml (L333-L341)).
The PR also includes minor identation fixes.

### How was this patch tested?
```shell
helm template kyuubi charts/kyuubi --set metrics.prometheusRule.enabled=true --set metrics.prometheusRule.labels.test-label=true -s templates/kyuubi-alert.yaml
---
# Source: kyuubi/templates/kyuubi-alert.yaml
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
  name: kyuubi
  labels:
    helm.sh/chart: kyuubi-0.1.0
    app.kubernetes.io/name: kyuubi
    app.kubernetes.io/instance: kyuubi
    app.kubernetes.io/version: "1.10.0"
    app.kubernetes.io/managed-by: Helm
    test-label: true
spec:
  groups:
    []
```

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #7105 from dnskr/helm-prometheusRule-labels.

Closes #7105

234d99da3 [dnskr] [K8S][HELM] Support additional labels for PrometheusRule

Authored-by: dnskr <dnskrv88@gmail.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2025-06-23 23:48:15 +08:00
..
templates [KYUUBI #7105] [K8S][HELM] Support additional labels for PrometheusRule 2025-06-23 23:48:15 +08:00
Chart.yaml [KYUUBI #6805] [K8S][HELM] Update default Kyuubi version to 1.10.0 2024-11-13 14:23:10 +08:00
README.md [KYUUBI #5154] [Doc] Move configuration docs to the top level 2023-08-11 18:23:08 +08:00
values.yaml [KYUUBI #7105] [K8S][HELM] Support additional labels for PrometheusRule 2025-06-23 23:48:15 +08:00

Helm Chart for Apache Kyuubi

Apache Kyuubi is a distributed and multi-tenant gateway to provide serverless SQL on Data Warehouses and Lakehouses.

Introduction

This chart will bootstrap an Kyuubi deployment on a Kubernetes cluster using the Helm package manager.

Requirements

  • Kubernetes cluster
  • Helm 3.0+

Template rendering

When you want to test the template rendering, but not actually install anything. Debugging templates provide a quick way of viewing the generated content without YAML parse errors blocking.

There are two ways to render templates. It will return the rendered template to you so you can see the output.

  • Local rendering chart templates
helm template --debug ../kyuubi
  • Server side rendering chart templates
helm install --dry-run --debug --generate-name ../kyuubi

Documentation

Configuration guide documentation for Kyuubi lives on the website. (Not just for Helm Chart)

Contributing

Want to help build Apache Kyuubi? Check out our contributing documentation.