From 6b757d502e1e827842bcaddc283503b95c8ce202 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Wed, 13 Oct 2021 17:46:52 +0200 Subject: [PATCH] CKS: use cluster-autoscaler-standard.yaml in kubernetes repo (#5574) --- .../src/main/resources/script/autoscale-kube-cluster | 2 +- scripts/util/create-kubernetes-binaries-iso.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/integrations/kubernetes-service/src/main/resources/script/autoscale-kube-cluster b/plugins/integrations/kubernetes-service/src/main/resources/script/autoscale-kube-cluster index 4f2254fdc05..ac3fd8eab4c 100755 --- a/plugins/integrations/kubernetes-service/src/main/resources/script/autoscale-kube-cluster +++ b/plugins/integrations/kubernetes-service/src/main/resources/script/autoscale-kube-cluster @@ -76,7 +76,7 @@ if [ $ENABLE == "true" ] ; then exit 0 else mkdir -p /opt/autoscaler - AUTOSCALER_URL="https://raw.githubusercontent.com/shapeblue/autoscaler/add-acs/cluster-autoscaler/cloudprovider/cloudstack/examples/cluster-autoscaler-standard.yaml" + AUTOSCALER_URL="https://raw.githubusercontent.com/kubernetes/autoscaler/master/cluster-autoscaler/cloudprovider/cloudstack/examples/cluster-autoscaler-standard.yaml" autoscaler_conf_file="/opt/autoscaler/autoscaler_tmpl.yaml" curl -sSL ${AUTOSCALER_URL} -o ${autoscaler_conf_file} if [ $? -ne 0 ]; then diff --git a/scripts/util/create-kubernetes-binaries-iso.sh b/scripts/util/create-kubernetes-binaries-iso.sh index fc19caa470c..ba3dca77a8d 100755 --- a/scripts/util/create-kubernetes-binaries-iso.sh +++ b/scripts/util/create-kubernetes-binaries-iso.sh @@ -87,7 +87,7 @@ dashboard_conf_file="${working_dir}/dashboard.yaml" curl -sSL ${DASHBORAD_CONFIG_URL} -o ${dashboard_conf_file} # TODO : Change the url once merged -AUTOSCALER_URL="https://raw.githubusercontent.com/shapeblue/autoscaler/add-acs/cluster-autoscaler/cloudprovider/cloudstack/examples/cluster-autoscaler-standard.yaml" +AUTOSCALER_URL="https://raw.githubusercontent.com/kubernetes/autoscaler/master/cluster-autoscaler/cloudprovider/cloudstack/examples/cluster-autoscaler-standard.yaml" echo "Downloading kubernetes cluster autoscaler ${AUTOSCALER_URL}" autoscaler_conf_file="${working_dir}/autoscaler.yaml" curl -sSL ${AUTOSCALER_URL} -o ${autoscaler_conf_file}