Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
kpl-launcher
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 32a799e9
authored
May 26, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉中文注释
1 parent
41b99120
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
deploy.sh
deploy.sh
View file @
32a799e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment