Create metric_setup.sh

This commit is contained in:
Torma Kristóf 2019-03-18 23:39:03 +01:00 committed by GitHub
parent da3d2d3807
commit 0760f57617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

5
deploy/metric_setup.sh Normal file
View File

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