Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
k8s
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 2a12debb
authored
Aug 05, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update deploy-gpu-k8s.sh
1 parent
06d748ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
script/k8s/deploy-gpu-k8s.sh
script/k8s/deploy-gpu-k8s.sh
View file @
2a12deb
...
@@ -411,7 +411,7 @@ ansible master -m shell -a "service docker restart"
...
@@ -411,7 +411,7 @@ ansible master -m shell -a "service docker restart"
echo
"解压harbor到/usr/local/目录"
echo
"解压harbor到/usr/local/目录"
tar -xvzf /root/k8s/package/harbor_aly.tar.gz -C /usr/local/
tar -xvzf /root/k8s/package/harbor_aly.tar.gz -C /usr/local/
cd
/usr/local/harbor/
&&
sed -i s/harbor_host/
$harbor_host
/g harbor.cfg
&&
./prepare
&&
./install.sh
&&
echo
"harbor安装成功"
cd
/usr/local/harbor/
&&
sed -i s/harbor_host/
$harbor_host
/g harbor.cfg
&&
./prepare
&&
./install.sh
&&
echo
"harbor安装成功"
echo
"您的harbor服务器访问地址为:
$harbor_host
,请创建harbor所项目目录:k8s
core autodl seetaas autodl-workspacm
您有90s的时间"
echo
"您的harbor服务器访问地址为:
$harbor_host
,请创建harbor所项目目录:k8s
kpl_k8s core autodl seetaas autodl-workspace
您有90s的时间"
sleep 90
sleep 90
docker login
$harbor_host
-uadmin -p
$harbor_passwd
docker login
$harbor_host
-uadmin -p
$harbor_passwd
###########################推送私有镜像到harbor仓库#######
###########################推送私有镜像到harbor仓库#######
...
...
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