mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Adjust parameters of GCL cluster logging load tests
This commit is contained in:
parent
6edd079024
commit
59e228ed3a
@ -39,11 +39,12 @@ var _ = framework.KubeDescribe("Cluster level logging using GCL [Slow] [Flaky]",
|
||||
gclLogsProvider, err := newGclLogsProvider(f)
|
||||
framework.ExpectNoError(err, "Failed to create GCL logs provider")
|
||||
|
||||
podCount := 30
|
||||
nodeCount := len(framework.GetReadySchedulableNodesOrDie(f.ClientSet).Items)
|
||||
podCount := 30 * nodeCount
|
||||
loggingDuration := 10 * time.Minute
|
||||
linesPerSecond := 1000
|
||||
linesPerSecond := 1000 * nodeCount
|
||||
linesPerPod := linesPerSecond * int(loggingDuration.Seconds()) / podCount
|
||||
ingestionTimeout := 1 * time.Hour
|
||||
ingestionTimeout := 30 * time.Minute
|
||||
|
||||
By("Running logs generator pods")
|
||||
pods := []*loggingPod{}
|
||||
@ -70,11 +71,12 @@ var _ = framework.KubeDescribe("Cluster level logging using GCL [Slow] [Flaky]",
|
||||
gclLogsProvider, err := newGclLogsProvider(f)
|
||||
framework.ExpectNoError(err, "Failed to create GCL logs provider")
|
||||
|
||||
maxPodCount := 10
|
||||
nodeCount := len(framework.GetReadySchedulableNodesOrDie(f.ClientSet).Items)
|
||||
maxPodCount := 10 * nodeCount
|
||||
jobDuration := 1 * time.Minute
|
||||
linesPerPodPerSecond := 10
|
||||
testDuration := 1 * time.Hour
|
||||
ingestionTimeout := 1 * time.Hour
|
||||
linesPerPodPerSecond := 100
|
||||
testDuration := 10 * time.Minute
|
||||
ingestionTimeout := 30 * time.Minute
|
||||
|
||||
podRunDelay := time.Duration(int64(jobDuration) / int64(maxPodCount))
|
||||
podRunCount := int(testDuration.Seconds())/int(podRunDelay.Seconds()) - 1
|
||||
|
Loading…
Reference in New Issue
Block a user