Commit e5117d70 authored by tywldx's avatar tywldx

fix

parent a0d94373
dongmeifeng|192.168.4.78|32093|32093 tower|192.168.4.78|30886|30084 zhangbo|192.168.4.77|31091|32056 wangfei|192.168.4.77|32389|31374 renmingxing|192.168.4.78|30169|32509 songruili|192.168.4.18|32355|30265 yiwei|192.168.4.77|30352|30286 lishuang|192.168.4.77|30011|31185 chenyadong|192.168.4.77|30384|32523 chenxingchun|192.168.4.33|30445|30583 yanxiaoyu|192.168.4.18|32116|30133 cloner|192.168.6.9|32566|32560 c2|192.168.6.8|30492|31481 withdb|192.168.6.9|30321|30896 base|192.168.6.9|31440|32685 dbtest|192.168.6.9|31669|31647 ggggg|192.168.6.9|30451|32069 |192.168.6.9|| kube-system|192.168.6.9|32747|31034 yangchunlian|192.168.4.32|31460|31452
......@@ -6,7 +6,7 @@ config_server="$pwd_path/config_server"
nginxname="/usr/local/openresty/nginx/conf/conf.d"
pwd_path_0="/home/qa-deploy-utils"
dockernamespace=`cat $pwd_path/ngrok/docker_env_name.sh`
# dockernamespace=`cat $pwd_path/ngrok/docker_env_name.sh`
ips=`cat $config_server/get_env_ip.sh`
rm -rf $filename
......@@ -168,11 +168,11 @@ do
done
_str=""
for host_name in ${dockernamespace[@]}
do
namespace=(${host_name//|/ })
getK8sConditionStr ${namespace[0]} ${namespace[1]}:${namespace[2]}
done
# for host_name in ${dockernamespace[@]}
# do
# namespace=(${host_name//|/ })
# getK8sConditionStr ${namespace[0]} ${namespace[1]}:${namespace[2]}
# done
createK8sNginxConf $nginxname/k8s.conf
nginx -s reload
......
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