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 d6133c2a
authored
Jun 30, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志等级改为2
1 parent
c3f6a0a8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
script/k8s/add_node.sh
script/k8s/add_node.sh
View file @
d6133c2
...
...
@@ -89,7 +89,7 @@ for new_node_ip in $new_node
do
cat >>/opt/kubernetes/cfg/kubelet.
$new_node_ip
<<EOF
KUBELET_OPTS="--logtostderr=false \
--v=
4
\
--v=
2
\
--log-dir=/opt/kubernetes/log \
--kubeconfig=/opt/kubernetes/cfg/kubelet.kubeconfig \
--bootstrap-kubeconfig=/opt/kubernetes/cfg/bootstrap.kubeconfig \
...
...
@@ -118,7 +118,7 @@ scp /opt/kubernetes/cfg/kubelet.config.$new_node_ip $new_node_ip:/opt/kubernetes
cat >>/opt/kubernetes/cfg/kube-proxy.
$new_node_ip
<<EOF
KUBE_PROXY_OPTS="--logtostderr=false \
--v=
4
\
--v=
2
\
--log-dir=/opt/kubernetes/log \
--cluster-cidr=10.0.0.0/24 \
--kubeconfig=/opt/kubernetes/cfg/kube-proxy.kubeconfig"
...
...
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