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

Fixing how EndpointSlice Mirroring handles Service selector transitions #105997

Merged
merged 1 commit into from Nov 3, 2021

Conversation

robscott
Copy link
Member

@robscott robscott commented Oct 29, 2021

What type of PR is this?

/kind bug

What this PR does / why we need it:

This is a follow up to #105987 and #91072 that ensures that the EndpointSlice Mirroring controller will delete EndpointSlices it manages when a Service selector transitions to/from empty. Although the code changes here are fairly small, the PR is fairly large due to the integration tests it adds.

Which issue(s) this PR fixes:

Fixes #105987.

Does this PR introduce a user-facing change?

EndpointSlice Mirroring controller now cleans up managed EndpointSlices when a Service selector is added

/sig network
/cc @aojea
/assign @thockin
/priority important-soon
/triage accepted

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 29, 2021
@k8s-ci-robot k8s-ci-robot added sig/network Categorizes an issue or PR as relevant to SIG Network. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. triage/accepted Indicates an issue or PR is ready to be actively worked on. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. area/test sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Oct 29, 2021
@aojea
Copy link
Member

aojea commented Oct 29, 2021

/lgtm
@thockin for approval

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 29, 2021
Copy link
Member

@thockin thockin left a comment

Choose a reason for hiding this comment

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

Thanks!

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: robscott, thockin

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

k8s-ci-robot added a commit that referenced this pull request Nov 5, 2021
…5997-upstream-release-1.20

Automated cherry pick of #105997: Fixing how EndpointSlice Mirroring handles Service selector
k8s-ci-robot added a commit that referenced this pull request Nov 5, 2021
…5997-release-1.22

Automated cherry pick of #105997: Fixing how EndpointSlice Mirroring handles Service selector
k8s-ci-robot added a commit that referenced this pull request Nov 5, 2021
…5997-upstream-release-1.21

Automated cherry pick of #105997: Fixing how EndpointSlice Mirroring handles Service selector
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. area/test cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/network Categorizes an issue or PR as relevant to SIG Network. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EndpointSlice Mirroring Controller does not cleanup EndpointSlices when a Selector is added to a Service
4 participants