Enable vmodule support for all components

Support vmodule (via `LOG_SPEC`) for all local cluster components.
pull/6/head
Dan Mace 2017-06-23 15:12:35 -04:00
parent 886e04f1ff
commit 321ed7f7cf
1 changed files with 2 additions and 0 deletions

View File

@ -574,6 +574,7 @@ function start_controller_manager {
CTLRMGR_LOG=${LOG_DIR}/kube-controller-manager.log
${CONTROLPLANE_SUDO} "${GO_OUT}/hyperkube" controller-manager \
--v=${LOG_LEVEL} \
--vmodule="${LOG_SPEC}" \
--service-account-private-key-file="${SERVICE_ACCOUNT_KEY}" \
--root-ca-file="${ROOT_CA_FILE}" \
--cluster-signing-cert-file="${CLUSTER_SIGNING_CERT_FILE}" \
@ -649,6 +650,7 @@ function start_kubelet {
sudo -E "${GO_OUT}/hyperkube" kubelet ${priv_arg}\
--v=${LOG_LEVEL} \
--vmodule="${LOG_SPEC}" \
--chaos-chance="${CHAOS_CHANCE}" \
--container-runtime="${CONTAINER_RUNTIME}" \
--rkt-path="${RKT_PATH}" \