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 cb34f400
authored
Jun 19, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将日志等级由debug 4调整到2
1 parent
c63385a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
script/k8s/deploy-gpu-k8s.sh
script/k8s/deploy-gpu-k8s.sh
View file @
cb34f40
...
...
@@ -262,7 +262,7 @@ do
echo
"当前k8s master主节点是
$master_ip
"
cat >>/opt/kubernetes/cfg/kube-apiserver.
$master_ip
<<EOF
KUBE_APISERVER_OPTS="--logtostderr=false \
--v=
4
\
--v=
2
\
--log-dir=/opt/kubernetes/log \
--etcd-servers=https://$etcd_ip:2379 \
--bind-address=0.0.0.0 \
...
...
@@ -334,7 +334,7 @@ for node_ip in $master_ip
do
cat >>/opt/kubernetes/cfg/kubelet.
$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 \
...
...
@@ -363,7 +363,7 @@ scp /opt/kubernetes/cfg/kubelet.config.$node_ip $node_ip:/opt/kubernetes/cfg/kub
cat >>/opt/kubernetes/cfg/kube-proxy.
$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