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 553f54a8
authored
Dec 05, 2019
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update deploy-gpu-k8s.sh
1 parent
f70e6d10
Show 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 @
553f54a
...
@@ -190,7 +190,7 @@ echo "开始安装docker"
...
@@ -190,7 +190,7 @@ echo "开始安装docker"
ansible master -m shell -a
"apt update --allow-insecure-repositories"
ansible master -m shell -a
"apt update --allow-insecure-repositories"
ansible master -m shell -a
"apt install docker-ce -y --allow-unauthenticated"
ansible master -m shell -a
"apt install docker-ce -y --allow-unauthenticated"
echo
"分发已修改的daemon.json文件"
echo
"分发已修改的daemon.json文件"
ansible master -m copy -a
"src=/root/k8s/config/daemon.json_gpu dest=/etc/docker/"
ansible master -m copy -a
"src=/root/k8s/config/daemon.json_gpu dest=/etc/docker/
daemon.json
"
ansible master -m shell -a
"service docker restart"
ansible master -m shell -a
"service docker restart"
ansible master -m shell -a
"service docker status"
ansible master -m shell -a
"service docker status"
ansible master -m shell -a
"cat /etc/docker/daemon.json"
ansible master -m shell -a
"cat /etc/docker/daemon.json"
...
...
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