Merge pull request #49665 from shyamjvs/logdump-fix

Automatic merge from submit-queue

Fix log-dump script wrt logexporter
This commit is contained in:
Kubernetes Submit Queue 2017-07-27 18:02:18 -07:00 committed by GitHub
commit e4551d50e5

View File

@ -274,7 +274,7 @@ function dump_nodes_with_logexporter() {
local -r service_account_credentials="$(cat ${GOOGLE_APPLICATION_CREDENTIALS} | base64 | tr -d '\n')"
local -r cloud_provider="${KUBERNETES_PROVIDER}"
local -r enable_hollow_node_logs="${ENABLE_HOLLOW_NODE_LOGS:-false}"
local -r logexport_timeout_seconds="$(( 30 + NUM_NODES / 10 ))"
local -r logexport_sleep_seconds="$(( 90 + NUM_NODES / 10 ))"
# Fill in the parameters in the logexporter daemonset template.
sed -i'' -e "s@{{.ServiceAccountCredentials}}@${service_account_credentials}@g" "${KUBE_ROOT}/cluster/log-dump/logexporter-daemonset.yaml"