Commit 5d2d739b by tingweiwang

push镜像新增cuda-10.0-base

1 parent f85aa17b
Showing with 2 additions and 0 deletions
......@@ -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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!