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 fcea2e88
authored
Dec 16, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开机启动脚本增加对其他node节点组件的自启动
1 parent
72dc6612
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
script/seetaas/start_server.sh
script/seetaas/start_server.sh
View file @
fcea2e8
...
...
@@ -16,8 +16,13 @@ cd /usr/local/harbor && ./install.sh
echo
"wait 20s for habor start"
sleep 20
############################客户端相关###################
echo
"start kubelet"
echo
"
管控节点本机
start kubelet"
service kubelet restart
echo
"node节点各个组件启动"
ansible node -m shell -a
"service flanneld restart"
ansible node -m shell -a
"service kube-proxy restart"
ansible node -m shell -a
"service docker restart"
ansible node -m shell -a
"service kubelet restart"
########################依赖服务相关################################
echo
"start mysql"
service mysql restart
...
...
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