Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow down creation of additional pods in density.go e2e #10020

Merged
merged 1 commit into from Jun 18, 2015

Conversation

piosz
Copy link
Member

@piosz piosz commented Jun 18, 2015

No description provided.

@piosz
Copy link
Member Author

piosz commented Jun 18, 2015

cc @davidopp @fgrzadkowski @gmarek

@gmarek gmarek self-assigned this Jun 18, 2015
wg.Add(minionCount)
for i := 1; i <= minionCount; i++ {
name := additionalPodsPrefix + "-" + strconv.Itoa(i)
labels := map[string]string{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can probably be moved outside of the loop.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@k8s-bot
Copy link

k8s-bot commented Jun 18, 2015

GCE e2e build/test failed for commit 21c4ec3ac71d1d71a83bd3b5944016c9b8b182e6.

@gmarek
Copy link
Contributor

gmarek commented Jun 18, 2015

LGTM, short of small nit.

@piosz piosz added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 18, 2015
@k8s-bot
Copy link

k8s-bot commented Jun 18, 2015

GCE e2e build/test failed for commit 45263c3.

@satnam6502
Copy link
Contributor

@k8s-bot retest this please

@k8s-bot
Copy link

k8s-bot commented Jun 18, 2015

GCE e2e build/test passed for commit 45263c3.

@satnam6502
Copy link
Contributor

Issue? Risk Level? Milestone? Thanks.

@satnam6502
Copy link
Contributor

Since this is a test I shall merger it without an associated milestone.

satnam6502 added a commit that referenced this pull request Jun 18, 2015
Slow down creation of additional pods in density.go e2e
@satnam6502 satnam6502 merged commit 847d771 into kubernetes:master Jun 18, 2015
@piosz
Copy link
Member Author

piosz commented Jun 19, 2015

Thanks @satnam6502.

Issue is measuring performance in general. Risk level is low since it's only changing the test and actually the logic being changed is disabled by default as for now.

for i := 1; i <= minionCount; i++ {
name := additionalPodsPrefix + "-" + strconv.Itoa(i)
go createRunningPod(&wg, c, name, ns, "gcr.io/google_containers/pause:go", podLabels)
time.Sleep(200 * time.Millisecond)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: if you're trying to rate limit to 5qps you can use util.throttle

@piosz piosz deleted the latency_metrics branch February 24, 2016 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants