From 6170fe3d3b136659bbc2fbaf043430d6d10c8dfd Mon Sep 17 00:00:00 2001 From: Justin Scott Date: Thu, 26 Sep 2019 11:56:53 -0700 Subject: [PATCH] Update metrics to v0.3.5 (#191) Signed-off-by: Justin Scott --- .../1-core-metrics/overlays/v0.3.5/kustomization.yaml | 8 ++++++++ clr-k8s-examples/create_stack.sh | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 clr-k8s-examples/1-core-metrics/overlays/v0.3.5/kustomization.yaml diff --git a/clr-k8s-examples/1-core-metrics/overlays/v0.3.5/kustomization.yaml b/clr-k8s-examples/1-core-metrics/overlays/v0.3.5/kustomization.yaml new file mode 100644 index 0000000..4050f65 --- /dev/null +++ b/clr-k8s-examples/1-core-metrics/overlays/v0.3.5/kustomization.yaml @@ -0,0 +1,8 @@ +resources: + - metrics-server/deploy/1.8+/aggregated-metrics-reader.yaml + - metrics-server/deploy/1.8+/auth-delegator.yaml + - metrics-server/deploy/1.8+/auth-reader.yaml + - metrics-server/deploy/1.8+/metrics-apiservice.yaml + - metrics-server/deploy/1.8+/metrics-server-deployment.yaml + - metrics-server/deploy/1.8+/metrics-server-service.yaml + - metrics-server/deploy/1.8+/resource-reader.yaml diff --git a/clr-k8s-examples/create_stack.sh b/clr-k8s-examples/create_stack.sh index 10435af..758060f 100755 --- a/clr-k8s-examples/create_stack.sh +++ b/clr-k8s-examples/create_stack.sh @@ -18,6 +18,7 @@ HIGH_POD_COUNT=${HIGH_POD_COUNT:-""} CANAL_VER="${CLRK8S_CANAL_VER:-v3.9}" K8S_VER="${CLRK8S_K8S_VER:-}" ROOK_VER="${CLRK8S_ROOK_VER:-v1.1.0}" +METRICS_VER="${CLRK8S_METRICS_VER:-v0.3.5}" function print_usage_exit() { exit_code=${1:-0} @@ -118,7 +119,7 @@ function cni() { } function metrics() { - METRICS_VER=${1:-v0.3.3} + METRICS_VER="${1:-$METRICS_VER}" METRICS_URL="https://github.com/kubernetes-incubator/metrics-server.git" METRICS_DIR="1-core-metrics" get_repo "${METRICS_URL}" "${METRICS_DIR}/overlays/${METRICS_VER}"