Commit d6133c2a by tingweiwang

日志等级改为2

1 parent c3f6a0a8
Showing with 2 additions and 2 deletions
......@@ -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"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!