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 8d3c09c3
authored
Nov 10, 2020
by
wangtingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化为相对路径
1 parent
9e21acee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
deploy.sh
deploy.sh
View file @
8d3c09c
...
@@ -37,9 +37,19 @@ kubectl delete -f k8s_yaml/kpl-launcher/ && sleep 2
...
@@ -37,9 +37,19 @@ kubectl delete -f k8s_yaml/kpl-launcher/ && sleep 2
kubectl delete secrets -n volcano-system volcano-admission-secret
kubectl delete secrets -n volcano-system volcano-admission-secret
}
}
create_server
()
{
create_server
()
{
kubectl apply -f k8s_yaml/kpl-ssl-configmap.yaml
kubectl apply -f k8s_yaml/kpl-ssl-configmap.yaml
kubectl apply -f k8s_yaml/kpl-ssl-configmap-autodl.yaml
kubectl apply -f k8s_yaml/kpl-ssl-configmap-autodl.yaml
kubectl apply -f k8s_yaml/kpl-launcher/rbac.yaml
kubectl apply -f /k8s_yaml/volcano/
#在/tmp目录下创建volcano和kpl-launcher服务
kubectl apply -f /tmp/deployment-
$date
.yaml
&&
sleep 3
}
private_create_server
()
{
kubectl apply -f k8s_yaml/kpl-ssl-configmap.yaml
kubectl apply -f k8s_yaml/kpl-ssl-configmap-autodl.yaml
kubectl apply -f k8s_yaml/kpl-launcher/rbac.yaml
kubectl apply -f /tmp/volcano-development-
$date
.yaml
&&
sleep 3
#在/tmp目录下创建volcano和kpl-launcher服务
kubectl apply -f /tmp/volcano-development-
$date
.yaml
&&
sleep 3
#在/tmp目录下创建volcano和kpl-launcher服务
kubectl apply -f /tmp/deployment-
$date
.yaml
&&
sleep 3
kubectl apply -f /tmp/deployment-
$date
.yaml
&&
sleep 3
}
}
...
@@ -53,7 +63,7 @@ create_server
...
@@ -53,7 +63,7 @@ create_server
private_deploy
()
{
private_deploy
()
{
delete_server
delete_server
private_sed_image_name
private_sed_image_name
create_server
private_
create_server
}
}
case
$1
in
case
$1
in
...
...
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