Merge pull request #43574 from crassirostris/cluster-logging-gcl-reduce-load

Automatic merge from submit-queue

Increase delays between calling Stackdriver Logging API in e2e tests

Fix https://github.com/kubernetes/kubernetes/issues/43442

This is a temporary hack, proper solution will be implemented soon
This commit is contained in:
Kubernetes Submit Queue 2017-03-23 09:33:50 -07:00 committed by GitHub
commit 68a858f7da
2 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,8 @@ const (
// quota limit exceeded. So we retry for some time in case the problem will go away.
// Quota is enforced every 100 seconds, so we have to wait for more than
// that to reliably get the next portion.
queryGclRetryDelay = 10 * time.Second
queryGclRetryTimeout = 200 * time.Second
queryGclRetryDelay = 100 * time.Second
queryGclRetryTimeout = 250 * time.Second
)
type gclLogsProvider struct {

View File

@ -33,7 +33,7 @@ import (
const (
// Duration of delay between any two attempts to check if all logs are ingested
ingestionRetryDelay = 10 * time.Second
ingestionRetryDelay = 100 * time.Second
// Amount of requested cores for logging container in millicores
loggingContainerCpuRequest = 10