Commit 00dc86b8 by tingweiwang

Update deploy-gpu-k8s.sh

1 parent 74d814b3
Showing with 2 additions and 3 deletions
......@@ -8,14 +8,14 @@ etcd_ip=192.168.1.32
master_ip=192.168.1.32
harbor_host=192.168.1.32:5000
harbor_passwd=admin #写死的不能改,harbor配置文件中password写死了,当前只能是admin
harbor_user=admin
image_path=/root/images #写死的不能改
interface=eno1 #本机内网IP的物理网卡名称,用于flannel的配置。
image_list=`cat $image_path/image_list.txt`
image_list_ksy=`cat $image_path/image_list_ksy.txt`
host_name=`hostname`
harbor_user_name=admin
harbor_passwd=admin
harbor_auth_token=$(echo -n "${harbor_user_name}:${harbor_passwd}"| base64
harbor_auth_token=$(echo -n "${harbor_user}:${harbor_passwd}"| base64
harbor_project_list=(
k8s
kpl_k8s
......@@ -116,7 +116,6 @@ EOF
fs.inotify.max_user_watches=1048576
EOF
modprobe br_netfilter && /sbin/sysctl -p && echo "sysctl set OK!!"
echo "make k8s dir success"
echo "+++++++++++++++++++++++++++++change bash++++++++++++++++++++++++++++++"
rm /bin/sh && ln -s /bin/bash /bin/sh
sleep 3
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!