From 1ff1c77b7ee2bb139ef124fc016852949c0eb712 Mon Sep 17 00:00:00 2001 From: Abhinav Khanna Date: Tue, 15 Jun 2021 07:23:56 -0700 Subject: [PATCH] =?UTF-8?q?[prometheus-adapter]=20fix(README.md):=20Fixed?= =?UTF-8?q?=20the=20default=20docs=20to=20use=20"node"=20label=20rather=20?= =?UTF-8?q?tha=E2=80=A6=20(#889)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(README.md): Fixed the default docs to use "node" label rather than "instance" * chore(version): Version bump Signed-off-by: Abhinav Khanna Co-authored-by: Abhinav Khanna Co-authored-by: André Bauer --- charts/prometheus-adapter/Chart.yaml | 2 +- charts/prometheus-adapter/README.md | 4 ++-- charts/prometheus-adapter/values.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/prometheus-adapter/Chart.yaml b/charts/prometheus-adapter/Chart.yaml index 6fc91f17..d694ea07 100644 --- a/charts/prometheus-adapter/Chart.yaml +++ b/charts/prometheus-adapter/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: prometheus-adapter -version: 2.14.1 +version: 2.14.2 appVersion: v0.8.4 description: A Helm chart for k8s prometheus adapter home: https://github.com/DirectXMan12/k8s-prometheus-adapter diff --git a/charts/prometheus-adapter/README.md b/charts/prometheus-adapter/README.md index b6028b01..67970458 100644 --- a/charts/prometheus-adapter/README.md +++ b/charts/prometheus-adapter/README.md @@ -122,7 +122,7 @@ rules: nodeQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>, id='/'}[3m])) by (<<.GroupBy>>) resources: overrides: - instance: + node: resource: node namespace: resource: namespace @@ -134,7 +134,7 @@ rules: nodeQuery: sum(container_memory_working_set_bytes{<<.LabelMatchers>>,id='/'}) by (<<.GroupBy>>) resources: overrides: - instance: + node: resource: node namespace: resource: namespace diff --git a/charts/prometheus-adapter/values.yaml b/charts/prometheus-adapter/values.yaml index a9cb21be..7d42f5c5 100644 --- a/charts/prometheus-adapter/values.yaml +++ b/charts/prometheus-adapter/values.yaml @@ -90,7 +90,7 @@ rules: # nodeQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>, id='/'}[3m])) by (<<.GroupBy>>) # resources: # overrides: -# instance: +# node: # resource: node # namespace: # resource: namespace @@ -102,7 +102,7 @@ rules: # nodeQuery: sum(container_memory_working_set_bytes{<<.LabelMatchers>>,id='/'}) by (<<.GroupBy>>) # resources: # overrides: -# instance: +# node: # resource: node # namespace: # resource: namespace