Commit 32a799e9 by tingweiwang

去掉中文注释

1 parent 41b99120
Showing with 4 additions and 6 deletions
......@@ -4,19 +4,19 @@ IMAGE_NAME=`cat image_list.txt`
################################
kubectl get ns |grep volcano-system
if [ $? -eq 0 ]; then
echo "volcano-system 命名空间存在,可以继续执行"
echo "volcano-system namespace already exit,continue operation"
else
echo "命名空间不存在" && exit 177
echo "namespace not found,please create namespace volcano-system" && exit 177
fi
#############################################
sed_image_name () {
echo "##修改镜像名字##"
echo "#sed image name##"
sleep 2
sed -i s@IMAGE_NAME@$IMAGE_NAME@g k8s_yaml/kpl-launcher/deployment.yaml
}
recover_image_name () {
echo "##恢复镜像名字##"
echo "##recover image name model##"
sleep 2
sed -i s@$IMAGE_NAME@IMAGE_NAME@g k8s_yaml/kpl-launcher/deployment.yaml
}
......@@ -41,8 +41,6 @@ recover_image_name
}
case $1 in
redeploy_all)
redeploy_all
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!