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

Remove artificial pod creation/update/delete rate limiting #2128

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

mborsz
Copy link
Member

@mborsz mborsz commented Aug 24, 2022

Right now, the test tries to spread load to generate expected load on the control plane. It has been introduced when master was able to handle max 10 pods per second and was overloading with higher throughput.

Now we are in a state when it is able to handle 100 pods per second throughput (we have at least few manual runs with this PR, the metrics look comparable to regular runs).

Let's remove the artificial throttling to:

  • make the test harder (it also validates property of k8s master that prevents overload)
  • to make the test faster in happy case

The feature is controlled by CL2_RATE_LIMIT_POD_CREATION (default true) to keep default behavior.

We will gradually swap all tests to false and then remove the env var.

/assign @marseel

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 24, 2022
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 24, 2022
@@ -75,7 +76,8 @@ steps:
action: start
checkIfPodsAreUpdated: {{$CHECK_IF_PODS_ARE_UPDATED}}
labelSelector: group = load
operationTimeout: 15m
operationTimeout: {{$operationTimeout}}
exactOperationTimeout: true
Copy link
Member

Choose a reason for hiding this comment

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

I think we could move exactOperationTimeout to be CL2 flag/env that will change how WaitForPods works for whole test instead of particular measurements.

@marseel
Copy link
Member

marseel commented Aug 24, 2022

/lgtm
/approve
/hold

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Aug 24, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: marseel, mborsz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mborsz
Copy link
Member Author

mborsz commented Aug 24, 2022

/test pull-perf-tests-clusterloader2-e2e-gce-scale-performance-manual

@mborsz
Copy link
Member Author

mborsz commented Aug 25, 2022

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 25, 2022
@k8s-ci-robot k8s-ci-robot merged commit b16bc3a into kubernetes:master Aug 25, 2022
@mborsz
Copy link
Member Author

mborsz commented Aug 25, 2022

@@ -168,7 +169,13 @@ steps:
params:
actionName: "create"
namespaces: {{$namespaces}}
{{if .RATE_LIMIT_POD_CREATION}}
Copy link
Member Author

@mborsz mborsz Aug 25, 2022

Choose a reason for hiding this comment

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

This should be $RATE_LIMIT_POD_CREATION

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants