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 the checksum workaround for Flannel VXLAN #9543

Merged
merged 1 commit into from
Jul 11, 2020

Conversation

hakman
Copy link
Member

@hakman hakman commented Jul 10, 2020

The issue was addressed in kubernetes/kubernetes#92035 and will be available in next Kubernetes releases.

Reverts: #9074

/assign @KashifSaadat

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 10, 2020
@hakman
Copy link
Member Author

hakman commented Jul 10, 2020

/retest

@hakman
Copy link
Member Author

hakman commented Jul 10, 2020

/retest

@johngmyers
Copy link
Member

I wonder if we want to make applying the workaround dependent on the Kubernetes minor version.

@hakman
Copy link
Member Author

hakman commented Jul 10, 2020

Me personally don't want to keep such workarounds when they are fixed in latest stable version.
I am sure that anyone noticing the issue will be eager to upgrade. And that's not even mentioning the latest security advisories.

@olemarkus
Copy link
Member

It is probably worth a mention in the release notes so users at least know to update.

@hakman
Copy link
Member Author

hakman commented Jul 10, 2020

That I can do :).

@@ -79,6 +79,9 @@

# Known Issues

* Flannel users need to upgrade to Kubernetes versions 1.18.6, 1.17.9, 1.16.13 or higher to avoid significant performance degradation.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* Flannel users need to upgrade to Kubernetes versions 1.18.6, 1.17.9, 1.16.13 or higher to avoid significant performance degradation.
* Flannel and Canal users need to upgrade to Kubernetes versions 1.18.6, 1.17.9, 1.16.13 or higher to avoid significant performance degradation.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was thinking to remove this for now. If we want this in just in master for a while, doesn't make sense to bundle it with release notes.

@hakman hakman force-pushed the remove-flannel-workaround branch from 6938fe2 to ed3f43b Compare July 11, 2020 04:38
@hakman
Copy link
Member Author

hakman commented Jul 11, 2020

I removed the release notes. This way it can be merged to master and tested for a while.

@johngmyers
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 11, 2020
@justinsb
Copy link
Member

I took a look and it looks like the underlying issue was introduced in k8s 1.16, and the fix has been backported to 1.16 (and later).

I think as a fix is available in a later minor, we shouldn't switch behaviours based on the minor version. (Though we can encourage users to use a later minor version, including posting a warning message if we think that's appropriate).

So I agree that for master branch (kops 1.19) we should just remove the workaround.

So that leaves the question of what we do about backporting our workaround. I think it only made the 1.17 and 1.18 branches. For 1.18 that isn't released yet, so we probably should backport.

For 1.17, we did do a release, so it's trickier. If we backport, anyone with a cluster relying on the workaround that upgrades kops will have their cluster break (if I understand correctly). For that reason, I propose we do not backport it to kops 1.17. What do people think?

In any case, this LGTM for master (and for cherry-picking to 1.18), so ...

/approve
/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman, justinsb

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 k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 11, 2020
@k8s-ci-robot k8s-ci-robot merged commit 2d6aba1 into kubernetes:master Jul 11, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Jul 11, 2020
@jhohertz
Copy link
Contributor

Sorry I'm late to the discussion here, but wanted to mention... As someone who's been delaying deployment of 1.17 pending a fix for the underlying issue (because I wasn't thrilled with the workaround),

I would like to be able to move ahead without said workaround unnecessarily in place if at all possible.

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/documentation area/nodeup 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants