Create metric_setup.sh
This commit is contained in:
parent
da3d2d3807
commit
0760f57617
5
deploy/metric_setup.sh
Normal file
5
deploy/metric_setup.sh
Normal 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+/
|
Loading…
Reference in New Issue
Block a user