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 60f09400
authored
Aug 29, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update add_node.sh
1 parent
d36334a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
script/k8s/add_node.sh
script/k8s/add_node.sh
View file @
60f0940
...
@@ -51,7 +51,7 @@ ansible new_node -m shell -a "service flanneld restart"
...
@@ -51,7 +51,7 @@ ansible new_node -m shell -a "service flanneld restart"
ansible new_node -m shell -a
"service flanneld status"
ansible new_node -m shell -a
"service flanneld status"
ansible new_node -m shell -a
"systemctl enable flanneld.service"
ansible new_node -m shell -a
"systemctl enable flanneld.service"
####################################################################################################
####################################################################################################
ansible new_node -m shell -a
"apt install nfs-common unzip conntrack --allow-unauthenticated -y"
ansible new_node -m shell -a
"apt
update --allow-insecure-repositories && apt
install nfs-common unzip conntrack --allow-unauthenticated -y"
#############################安装docker#############################################################
#############################安装docker#############################################################
echo
"提前渲染各个类型的daemon.json,为分发做准备"
&&
sleep 2
echo
"提前渲染各个类型的daemon.json,为分发做准备"
&&
sleep 2
sed -i s/harbor_host/
$harbor_host
/g /root/k8s/config/daemon.json_gpu
sed -i s/harbor_host/
$harbor_host
/g /root/k8s/config/daemon.json_gpu
...
...
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