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+/