From 6720d67d3ab9d12c7908d3773c79fc1b32466dde Mon Sep 17 00:00:00 2001 From: mbutkereit Date: Fri, 29 Oct 2021 08:13:50 +0200 Subject: [PATCH] Add s to metricQuery --- docs/sample-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sample-config.yaml b/docs/sample-config.yaml index 0508c6c4..31906206 100644 --- a/docs/sample-config.yaml +++ b/docs/sample-config.yaml @@ -63,7 +63,7 @@ rules: overrides: # this should still resolve in our cluster brand: {group: "cheese.io", resource: "brand"} - metricQuery: 'count(cheddar{sharp="true"})' + metricsQuery: 'count(cheddar{sharp="true"})' # external rules are not tied to a Kubernetes resource and can reference any metric # https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects