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 52ff9c72
authored
May 26, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改判断逻辑,如果命名空间不存在则自动存在,如果已存在,则无任何操作继续执行
1 parent
32a799e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
deploy.sh
deploy.sh
View file @
52ff9c7
...
@@ -6,7 +6,7 @@ kubectl get ns |grep volcano-system
...
@@ -6,7 +6,7 @@ kubectl get ns |grep volcano-system
if
[
$?
-eq 0
]
;
then
if
[
$?
-eq 0
]
;
then
echo
"volcano-system namespace already exit,continue operation"
echo
"volcano-system namespace already exit,continue operation"
else
else
echo
"namespace not found,
please create namespace volcano-system"
&&
exit
177
echo
"namespace not found,
autocreate namespace volcano-system"
&&
kubectl create namespace volcano-system
fi
fi
#############################################
#############################################
sed_image_name
()
{
sed_image_name
()
{
...
...
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