Commit 68a858f7 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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
parents f4986235 e034987a
...@@ -35,8 +35,8 @@ const ( ...@@ -35,8 +35,8 @@ const (
// quota limit exceeded. So we retry for some time in case the problem will go away. // 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 // Quota is enforced every 100 seconds, so we have to wait for more than
// that to reliably get the next portion. // that to reliably get the next portion.
queryGclRetryDelay = 10 * time.Second queryGclRetryDelay = 100 * time.Second
queryGclRetryTimeout = 200 * time.Second queryGclRetryTimeout = 250 * time.Second
) )
type gclLogsProvider struct { type gclLogsProvider struct {
......
...@@ -33,7 +33,7 @@ import ( ...@@ -33,7 +33,7 @@ import (
const ( const (
// Duration of delay between any two attempts to check if all logs are ingested // 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 // Amount of requested cores for logging container in millicores
loggingContainerCpuRequest = 10 loggingContainerCpuRequest = 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment