This repository was archived by the owner on Mar 9, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +10
-4
lines changed
Expand file tree Collapse file tree 6 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ write_files:
4646 LimitNPROC=infinity
4747 LimitCORE=infinity
4848 ExecStartPre=/sbin/modprobe overlay
49- ExecStart=/home/containerd/usr/local/bin/containerd --log-level debug
49+ ExecStart=/home/containerd/usr/local/bin/containerd
5050
5151 [Install]
5252 WantedBy=containerd.target
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ write_files:
4646 LimitNPROC=infinity
4747 LimitCORE=infinity
4848 ExecStartPre=/sbin/modprobe overlay
49- ExecStart=/home/containerd/usr/local/bin/containerd --log-level debug
49+ ExecStart=/home/containerd/usr/local/bin/containerd
5050
5151 [Install]
5252 WantedBy=containerd.target
Original file line number Diff line number Diff line change 134134cp " ${CONTAINERD_HOME} /etc/crictl.yaml" /etc
135135
136136# Generate containerd config
137- config_path=${CONTAINERD_CONFIG_PATH:- " /etc/containerd/config.toml" }
137+ config_path=" ${CONTAINERD_CONFIG_PATH:- " /etc/containerd/config.toml" } "
138138mkdir -p $( dirname ${config_path} )
139139cni_bin_dir=" ${CONTAINERD_HOME} /opt/cni/bin"
140140cni_template_path=" ${CONTAINERD_HOME} /opt/containerd/cluster/gce/cni.template"
@@ -145,7 +145,11 @@ if [ -n "${network_policy_provider}" ] && [ "${network_policy_provider}" != "non
145145 cni_bin_dir=" ${KUBE_HOME} /bin"
146146 cni_template_path=" "
147147fi
148+ log_level=" ${CONTAINERD_LOG_LEVEL:- " info" } "
148149cat > ${config_path} << EOF
150+ [debug]
151+ level = "${log_level} "
152+
149153[plugins.linux]
150154 shim = "${CONTAINERD_HOME} /usr/local/bin/containerd-shim"
151155 runtime = "${CONTAINERD_HOME} /usr/local/sbin/runc"
Original file line number Diff line number Diff line change 11CONTAINERD_TEST: 'true'
2+ CONTAINERD_LOG_LEVEL: 'debug'
23CONTAINERD_DEPLOY_PATH: 'cri-containerd-staging/containerd'
34CONTAINERD_PKG_PREFIX: 'containerd-cni'
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ write_files:
4545 LimitNPROC=infinity
4646 LimitCORE=infinity
4747 ExecStartPre=/sbin/modprobe overlay
48- ExecStart=/home/containerd/usr/local/bin/containerd --log-level debug
48+ ExecStart=/home/containerd/usr/local/bin/containerd
4949
5050 [Install]
5151 WantedBy=containerd.target
Original file line number Diff line number Diff line change 11CONTAINERD_TEST: 'true'
2+ CONTAINERD_LOG_LEVEL: 'debug'
You can’t perform that action at this time.
0 commit comments