UNCLASSIFIED - NO CUI

Skip to content

K8s-monitoring for Alloy to move from v1 to v2

K8s-monitoring chart has a v1 to v2 upgrade details on the move: https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/docs/Migration.md. The referenced charts are https://github.com/grafana/k8s-monitoring-helm/tree/main/charts with v2 being just k8s-monitoring and k8s-monitoring-v1 as v1.

The 2.0 release of the k8s-monitoring Helm chart includes major changes from the 1.x version. Many of the features have been re-arranged to be organized around features, rather than data types (e.g. metrics, logs, etc.). This document will explain how the settings have changed, feature-by-feature, and how to migrate your v1 values.yaml file.

In v1, many features were enabled by default. Cluster metrics, pod logs, cluster events, etc... In v2, all features are disabled by default, which leads your values file to better reflect your desired feature set.

We should work towards upgrading our alloy chart to follow. There is work to

  1. Configure the wrapper chart to work with upstream with referencing v2
  2. Test upgrade from the v2 to v1, document changes that we need to include in the breaking change. If needed write a documentation on migration
  3. Deploys same deployment as what we have by default for v1.
  4. Test package works
Edited by Kirby Liu