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 5d2d739b
authored
Jan 02, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push镜像新增cuda-10.0-base
1 parent
f85aa17b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
script/k8s/deploy-gpu-k8s.sh
script/k8s/deploy-gpu-k8s.sh
View file @
5d2d739
...
...
@@ -406,6 +406,7 @@ docker tag nvidia/k8s-device-plugin:1.10 $harbor_host/k8s/k8s-device-plugin:1.10
docker tag busybox:1.28.3
$harbor_host
/k8s/busybox:1.28.3
docker tag registry.cn-hangzhou.aliyuncs.com/google-containers/pause-amd64:3.0
$harbor_host
/k8s/pause-amd64:3.0
docker tag nginx:latest
$harbor_host
/k8s/nginx:latest
docker tag nvidia/cuda:10.0-base-ubuntu16.04
$harbor_host
/k8s/cuda:10.0-base-ubuntu16.04
echo
"开始推送镜像到harbor"
echo
"您的harbor服务器访问地址为:
$harbor_host
,请创建harbor所项目目录:k8s core autodl seetaas autodl-workspacem 您有90s的时间"
sleep 90
...
...
@@ -417,6 +418,7 @@ docker push $harbor_host/k8s/k8s-device-plugin:1.10
docker push
$harbor_host
/k8s/busybox:1.28.3
docker push
$harbor_host
/k8s/pause-amd64:3.0
docker push
$harbor_host
/k8s/nginx:latest
docker push
$harbor_host
/k8s/cuda:10.0-base-ubuntu16.04
################################安装coredns以及nvidia-kubernetes插件##########
sed -i s/harbor_host/
$harbor_host
/g /root/k8s/config/coredns.yaml
kubectl create -f /root/k8s/config/coredns.yaml
...
...
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