Commit 4d61b64f authored by xuezj's avatar xuezj

ui支持qke

parent 2163b674
...@@ -26,11 +26,15 @@ do ...@@ -26,11 +26,15 @@ do
echo "tar zxf ${current}/$with_ext -C ${current}/$fname" echo "tar zxf ${current}/$with_ext -C ${current}/$fname"
tar zxf ${current}/$with_ext -C ${current}/$fname tar zxf ${current}/$with_ext -C ${current}/$fname
done done
# 通过集群名称判断需要优化
curl -sSL http://git.quantgroup.cn/QA/config_repository/raw/master/yaml/replace.py -o replace.py curl -sSL http://git.quantgroup.cn/QA/config_repository/raw/master/yaml/replace.py -o replace.py
curl -sSL http://git.quantgroup.cn/QA/config_repository/raw/master/yaml/replace_config_tke.yaml -o replace_config.yaml if [[ $CLUSTER == 'qke' ]]; then
curl -sSL http://git.quantgroup.cn/QA/config_repository/raw/master/yaml/replace_config_qke.yaml -o replace_config.yaml
else
curl -sSL http://git.quantgroup.cn/QA/config_repository/raw/master/yaml/replace_config_tke.yaml -o replace_config.yaml
fi
python replace.py $host; python replace.py $host;
logdir="/home/logs/${HOSTNAME}" logdir="/home/logs/${HOSTNAME}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment