Skip to content

Commit

Permalink
Update all glog flags to log-level.
Browse files Browse the repository at this point in the history
Signed-off-by: Lantao Liu <lantaol@google.com>
  • Loading branch information
Random-Liu committed Jan 17, 2018
1 parent 3d68005 commit 144ff39
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -107,7 +107,7 @@ sudo containerd
```
2. Start `cri-containerd` as root in a second terminal:
```bash
sudo cri-containerd -v 2 --alsologtostderr
sudo cri-containerd
```
3. From the Kubernetes project directory startup a local cluster using `cri-containerd`:
```bash
Expand Down
2 changes: 1 addition & 1 deletion cluster/gce/cloud-init/master.yaml
Expand Up @@ -82,7 +82,7 @@ write_files:
# cri-containerd on master uses the cni binary and config in the
# release tarball.
ExecStart=/home/cri-containerd/usr/local/bin/cri-containerd \
--logtostderr --v=4 \
--log-level=debug \
--network-bin-dir=/home/cri-containerd/opt/cni/bin \
--network-conf-dir=/home/cri-containerd/etc/cni/net.d
Expand Down
2 changes: 1 addition & 1 deletion cluster/gce/cloud-init/node.yaml
Expand Up @@ -85,7 +85,7 @@ write_files:
# Point to /home/kubernetes/bin where calico setup cni binary in kube-up.sh.
# Point to /etc/cni/net.d where calico put cni config in kube-up.sh.
ExecStart=/home/cri-containerd/usr/local/bin/cri-containerd \
--logtostderr --v=4 \
--log-level=debug \
--network-bin-dir=/home/kubernetes/bin \
--network-conf-dir=/etc/cni/net.d
Expand Down
2 changes: 1 addition & 1 deletion contrib/systemd-units/cri-containerd.service
Expand Up @@ -11,7 +11,7 @@ LimitNOFILE=1048576
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNPROC=infinity
LimitCORE=infinity
ExecStart=/usr/local/bin/cri-containerd --logtostderr
ExecStart=/usr/local/bin/cri-containerd

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion hack/test-utils.sh
Expand Up @@ -51,7 +51,7 @@ test_setup() {

# Start cri-containerd
if ${STANDALONE_CRI_CONTAINERD}; then
keepalive "sudo ${ROOT}/_output/cri-containerd --alsologtostderr --v 4 ${CRI_CONTAINERD_FLAGS}" \
keepalive "sudo ${ROOT}/_output/cri-containerd --log-level=debug ${CRI_CONTAINERD_FLAGS}" \
${RESTART_WAIT_PERIOD} &> ${report_dir}/cri-containerd.log &
cri_containerd_pid=$!
fi
Expand Down
2 changes: 1 addition & 1 deletion test/e2e_node/init.yaml
Expand Up @@ -79,7 +79,7 @@ write_files:
LimitNPROC=infinity
LimitCORE=infinity
ExecStart=/home/cri-containerd/usr/local/bin/cri-containerd \
--logtostderr --v=4 \
--log-level=debug \
--network-bin-dir=/home/cri-containerd/opt/cni/bin \
--network-conf-dir=/home/cri-containerd/etc/cni/net.d
Expand Down

0 comments on commit 144ff39

Please sign in to comment.