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

Helpers removed #2576

Closed
wants to merge 15 commits into from
Closed

Helpers removed #2576

wants to merge 15 commits into from

Conversation

08volt
Copy link
Contributor

@08volt 08volt commented Jun 3, 2024

issue #1902

Removed helper dependencies from the cloud-provider

Originally posted by Antonio Ojea in #1896 (comment)

sawsa307 and others added 4 commits June 3, 2024 10:11
* Currently TestSyncPod depends on the order of execution in test cases,
  where one test case create pod and the remaining ones update based on
  it.
* Split each test case such that they are using different pods and thus
  independent of each other.
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 08volt
Once this PR has been reviewed and has the lgtm label, please assign thockin for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 3, 2024
@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jun 3, 2024
@k8s-ci-robot
Copy link
Contributor

Hi @08volt. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jun 3, 2024
sawsa307 and others added 11 commits June 3, 2024 10:30
* Currently TestSyncPod depends on the order of execution in test cases,
  where one test case create pod and the remaining ones update based on
  it.
* Split each test case such that they are using different pods and thus
  independent of each other.
* Endpoint and EPS count metrics now will track number of endpoints not
  in default subnet, and they are skipped from endpoint calculations in
  normal and degraded mode.
* Generate endpoint sets and endpoint maps from CalculateEndpoints so
  they contain a consistent set of endpoints.
* This also makes the test easier to maintain because we don't need to
  hard-code got/expected endpoints.
* Rename DupCount from CalculateEndpoints to
  endpointsExcludedInCalculation, since we need to take endpoints from
  non-default subnet into account as well.
* We don't need to track these counts separately outside of
  CalculateEndpoints() since we only need them in ValidateEndpoints() to
  understand the total number of endpoint we excluded during
  calculations. The actual numbers only matter when we emit metrics,
  which happends within CalculateEndpoints() in toZoneNetworkEndpointMap().
Removed helper import from:
l4lb
loadbalancers
healthchecksl4
neg/controller.go
utils/patch/patch.go

Replaced import with private functions

Signed-off-by: Enrico <[email protected]>
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jun 3, 2024
@08volt 08volt closed this Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants