From 1f89ccfae6898b1b35793403709f1ac936afffd9 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Sat, 7 Sep 2024 15:22:44 +1000 Subject: [PATCH 1/3] update NR config for kube metrics --- infrastructures/newrelic/env/k3s-cluster/values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infrastructures/newrelic/env/k3s-cluster/values.yaml b/infrastructures/newrelic/env/k3s-cluster/values.yaml index 6291b5b..7b1d2f4 100644 --- a/infrastructures/newrelic/env/k3s-cluster/values.yaml +++ b/infrastructures/newrelic/env/k3s-cluster/values.yaml @@ -17,8 +17,11 @@ nri-metadata-injection: enabled: true kube-state-metrics: + prometheusScrape: false image: tag: v2.10.0 + revisionHistoryLimit: 5 + releaseLabel: true # kube-state-metrics.enabled -- Install the [`kube-state-metrics` chart](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-state-metrics) from the stable helm charts repository. # This is mandatory if `infrastructure.enabled` is set to `true` and the user does not provide its own instance of KSM version >=1.8 and <=2.0. Note, kube-state-metrics v2+ disables labels/annotations # metrics by default. You can enable the target labels/annotations metrics to be monitored by using the metricLabelsAllowlist/metricAnnotationsAllowList options described [here](https://github.com/prometheus-community/helm-charts/blob/159cd8e4fb89b8b107dcc100287504bb91bf30e0/charts/kube-state-metrics/values.yaml#L274) in From 216d839df205f3c21a9e5ae750abec0a979e2827 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Sat, 7 Sep 2024 15:25:03 +1000 Subject: [PATCH 2/3] enable plane --- apps/plane/env/k3s-cluster/{config.json.bak => config.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename apps/plane/env/k3s-cluster/{config.json.bak => config.json} (100%) diff --git a/apps/plane/env/k3s-cluster/config.json.bak b/apps/plane/env/k3s-cluster/config.json similarity index 100% rename from apps/plane/env/k3s-cluster/config.json.bak rename to apps/plane/env/k3s-cluster/config.json From 1fc6a66a5d283c52d2a18e02842243b1bbd70edd Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Sat, 7 Sep 2024 15:46:57 +1000 Subject: [PATCH 3/3] update chart version for ec-config-server --- apps/ec-config-server/env/k3s-cluster/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ec-config-server/env/k3s-cluster/kustomization.yaml b/apps/ec-config-server/env/k3s-cluster/kustomization.yaml index 491d8fc..4d2ed28 100644 --- a/apps/ec-config-server/env/k3s-cluster/kustomization.yaml +++ b/apps/ec-config-server/env/k3s-cluster/kustomization.yaml @@ -3,6 +3,6 @@ kind: Kustomization helmCharts: - name: ec-config-server repo: https://chartmuseum.cluster.edward.sydney:8899/ - version: 1.0.6 + version: 1.0.7 releaseName: ec-config-server valuesFile: values.yaml \ No newline at end of file