-
Notifications
You must be signed in to change notification settings - Fork 40k
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
DNS record scale test #63820
DNS record scale test #63820
Conversation
/ok-to-test |
/sig network |
/sig scalability |
test/e2e/scalability/dns.go
Outdated
@@ -0,0 +1,91 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you instead place this test under test/e2e/network
?
Sig-scalability is a horizontal effort - scale testing for vertical features should ideally belong to the relevant sig (which in this case seems to be sig-networking).
/test pull-kubernetes-bazel-test |
@bowei, FYI |
/test pull-kubernetes-integration |
/assign @bowei |
This no longer creates 30 services per node - instead it creates the maximum number of services, regardless of cluster size. |
flake? |
@@ -0,0 +1,84 @@ | |||
/* | |||
Copyright 2016 The Kubernetes Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2018
defer GinkgoRecover() | ||
framework.ExpectNoError(testutils.CreateServiceWithRetries(f.ClientSet, f.Namespace.Name, services[i])) | ||
} | ||
workqueue.Parallelize(16, len(services), createService) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you maybe expose this hard-coded value of 16 as some global constant?
|
||
// answers dns for service - creates the maximum number of services, and then check dns record for one | ||
It("answers dns for service", func() { | ||
services := generateDnsServicesInNamespace(f.Namespace.Name, 10000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as other comment. Expose this value as global constant.
test/e2e/network/dns_common.go
Outdated
@@ -169,6 +180,10 @@ func (t *dnsTestCommon) deleteConfigMap() { | |||
} | |||
|
|||
func (t *dnsTestCommon) createUtilPod() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't you just get rid of this function or replace it's uses with createUtilPodLabel
?
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This looks good overall.
/approve
Thanks @MrHohn! Can you tag for the current release milestone? |
Sorry I don't have that privilege. But no worries I will grab someone for help. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrisohaver, MrHohn 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 |
/kind feature |
/retest Review the full test history for this PR. Silence the bot with an |
3 similar comments
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
FYI, pull-kubernetes-kubemark-e2e-gce-big failure is not related to this change. It is currently failing consistently/universally since 2018-05-30 13:30 EDT. |
@caseydavenport, @dcbw : Can you add the needed label "status/approved-for-milestone" for this e2e test for DNS scale - it is located in sig-network area on advise of sig-scalability guys. |
/retest Review the full test history for this PR. Silence the bot with an |
1 similar comment
/retest Review the full test history for this PR. Silence the bot with an |
[MILESTONENOTIFIER] Milestone Pull Request: Up-to-date for process Pull Request Labels
|
@chrisohaver: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Automatic merge from submit-queue (batch tested with PRs 63445, 63820). If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
Adds e2e scalability test for querying DNS with a scaled up number of records. Specifically, it creates
30 services per node10000 services, then queries the cluster DNS and validates the response. This relates to a graduation criteria listed in kubernetes/community#1956.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):none
Special notes for your reviewer:
Release note: