8000 v1.15 Backports 2024-09-25 by pippolo84 · Pull Request #35037 · cilium/cilium · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v1.15 Backports 2024-09-25 #35037

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

Merged
merged 4 commits into from
Oct 1, 2024
Merged

Conversation

pippolo84
Copy link
Member
@pippolo84 pippolo84 commented Sep 25, 2024

Once this PR is merged, a GitHub action will update the labels of these PRs:

 34783 34946 34789

@pippolo84 pippolo84 added kind/backports This PR provides functionality previously merged into master. backport/1.15 This PR represents a backport for Cilium 1.15.x of a PR that was merged to main. labels Sep 25, 2024
Copy link
Member
@kaworu kaworu left a comment

Choose a reason for hiding this comment

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

Thank you!

dylandreimerink and others added 4 commits September 25, 2024 16:24
[ upstream commit f4fb48b ]

[ backporter's notes: Used `ciliumSvcLBISKAnnotation` instead of
annotation.LBIPAMSharingKey as the latter is not defined in v1.15 branch
]

There was a bug in the LB-IPAM import logic. When one or more services
share the same IP, and the agent restarts, the services would not
share the IP anymore.

This happens because when the import logic allocated an IP, it did not
register the sharing group if that service had a sharing key. This
caused the non-import path which is called for the second service to
conclude that the second service was the first service in the group
so it would allocate a new IP.

This commit makes sure the import logic registers the sharing group
when it allocates an IP.

Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
[ upstream commit daf66f2 ]

[ backporter's notes: Dropped changes to
install/kubernetes/cilium/templates/hubble/tls-certmanager/metrics-server-secret.yaml:
file not present in v1.15 branch ]

Copied the usages from the certgen (aka tls-cronjob).

Signed-off-by: Alexandre Perrin <alex@isovalent.com>
Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
[ upstream commit 58a64cf ]

This fixes issues where prior mark values would not be correctly
set if the mark set needed to remove bits. For example:

0x0f00 updated with 0x0400 -> 0xff.

As well, mask magic bit set to ensure other parts of the mark
do not get changed.

Co-authored-by: Yusuke Suzuki <yusuke-suzuki@cybozu.co.jp>
Signed-off-by: Tom Hadlaw <tom.hadlaw@isovalent.com>
Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
[ upstream commit 66c9b0d ]

This covers setting and then clearing/overwriting the mark value to
ensure the function performs this correctly.

Signed-off-by: Tom Hadlaw <tom.hadlaw@isovalent.com>
Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
@pippolo84 pippolo84 force-pushed the pr/v1.15-backport-2024-09-25-03-31 branch from 678c6e7 to 3c27f33 Compare September 25, 2024 14:24
@pippolo84 pippolo84 marked this pull request as ready for review September 25, 2024 14:40
@pippolo84 pippolo84 requested a review from a team as a code owner September 25, 2024 14:40
@pippolo84
Copy link
Member Author

/test-backport-1.15

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Oct 1, 2024
@julianwiedmann julianwiedmann merged commit a79cf00 into v1.15 Oct 1, 2024
257 checks passed
@julianwiedmann julianwiedmann deleted the pr/v1.15-backport-2024-09-25-03-31 branch October 1, 2024 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.15 This PR represents a backport for Cilium 1.15.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0