Commit cb34f400 by tingweiwang

将日志等级由debug 4调整到2

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