-
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
Flush conntrack state for removed/changed UDP Services #22573
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
@@ -18,7 +18,8 @@ IMAGE = debian-iptables | |||
TAG = v1 | |||
|
|||
build: | |||
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) . | |||
#docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) . |
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.
i will revert this once review is done and image pushed
GCE e2e build/test failed for commit 7224fdcd836d22ca91d8bac1cfabd4ae0a85520c. Please reference the list of currently known flakes when examining this failure. If you request a re-test, you must reference the issue describing the flake. |
Adding the v1.2 milestone. Starting later today cherrypick-candidate will be removed from any PR that doesn't set the milestone. |
@googlebot I signed it! |
GCE e2e build/test passed for commit d1d997bdeeddef9fbece03cd65aac3a74f922e79. |
GCE e2e build/test passed for commit 0ac7ff35eccb8980f412227c0452f9cf5cc85fa5. |
GCE e2e build/test passed for commit 0ac7ff35eccb8980f412227c0452f9cf5cc85fa5. |
GCE e2e build/test passed for commit 615bd4ebc3cbf954243763d0a9f708549fbefda5. |
Ping @thockin |
@@ -491,12 +498,18 @@ func (proxier *Proxier) OnEndpointsUpdate(allEndpoints []api.Endpoints) { | |||
// Remove endpoints missing from the update. | |||
for name := range proxier.endpointsMap { | |||
if !activeEndpoints[name] { | |||
// record endpoints of unactive service to stale connections |
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.
do we handle the case : no endpoints deleted, but a service got deleted ?
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.
Good Catch! Added logic to clean up stale service connections
GCE e2e build/test failed for commit b6c3285d87a74b1dd83c81f3c37acc9166b3d666. Please reference the list of currently known flakes when examining this failure. If you request a re-test, you must reference the issue describing the flake. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit ad8c677. |
Automatic merge from submit-queue |
@freehan: Please create a cherrypick PR for this tomorrow if possible, if you want this included in 1.2.3. |
I tried to create a cherrypick for this as well, and it's going to need some work:
|
@zmerlynn Thanks for reminding! |
…3-upstream-release-1.2 Automated cherry pick of #22573
Commit found in the "release-1.2" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
…k-of-#22573-upstream-release-1.2 Automated cherry pick of kubernetes#22573
…k-of-#22573-upstream-release-1.2 Automated cherry pick of kubernetes#22573
…tration Fix case when operator fight with CRD registration on quota.openshift.io Origin-commit: 938b9768795281709c1f1e2ac6112e8573bd97ab
fixes: #19029