From 0760f57617821be2805dce5753cc6146d54922ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 18 Mar 2019 23:39:03 +0100 Subject: [PATCH] Create metric_setup.sh --- deploy/metric_setup.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 deploy/metric_setup.sh diff --git a/deploy/metric_setup.sh b/deploy/metric_setup.sh new file mode 100644 index 0000000..d5635b4 --- /dev/null +++ b/deploy/metric_setup.sh @@ -0,0 +1,5 @@ +git clone https://github.com/kubernetes-incubator/metrics-server.git +sed -i '34i\ command:\' metrics-server/deploy/1.8+/metrics-server-deployment.yaml +sed -i '35i\ - /metrics-server\' metrics-server/deploy/1.8+/metrics-server-deployment.yaml +sed -i '36i\ - --kubelet-insecure-tls\' metrics-server/deploy/1.8+/metrics-server-deployment.yaml +kubectl create -f metrics-server/deploy/1.8+/