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

revert(kuma-cp): do not use additional addresses #11601

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

lukidzi
Copy link
Contributor

@lukidzi lukidzi commented Sep 30, 2024

Checklist prior to review

When using TrafficRoute, a user might encounter an issue with address conflicts in the listeners. If the vips-config-map (which holds internal VIPs) is removed, the control plane attempts to rebuild it. However, the order in which the map is rebuilt may differ from the addresses previously allocated and delivered by the control plane to the sidecars. If a sidecar runs with listeners that have additional addresses defined, and the rebuilt map assigns a different IP to a service, this IP mismatch can cause a conflict. As a result, the listener may be rejected by Envoy.

revert: #8796

  • Link to relevant issue as well as docs and UI issues -- fix: https://github.com/Kong/kong-mesh/issues/6679
  • This will not break child repos: it doesn't hardcode values (.e.g "kumahq" as a image registry) and it will work on Windows, system specific functions like syscall.Mkfifo have equivalent implementation on the other OS --
  • Tests (Unit test, E2E tests, manual test on universal and k8s) --
    • Don't forget ci/ labels to run additional/fewer tests
  • Do you need to update UPGRADE.md? --
  • Does it need to be backported according to the backporting policy? (this GH action will add "backport" label based on these file globs, if you want to prevent it from adding the "backport" label use no-backport-autolabel label) --

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
@lukidzi lukidzi requested a review from a team as a code owner September 30, 2024 16:21
@lukidzi lukidzi requested review from bartsmykla and lobkovilya and removed request for a team September 30, 2024 16:21
Copy link
Contributor

@slonka slonka left a comment

Choose a reason for hiding this comment

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

LGTM, one Q

pkg/xds/generator/outbound_proxy_generator.go Show resolved Hide resolved
@lukidzi lukidzi merged commit 2059970 into kumahq:master Oct 1, 2024
17 checks passed
Copy link
Contributor

github-actions bot commented Oct 1, 2024

backporting to release-2.8 with action

backporting to release-2.5 with action

kumahq bot pushed a commit that referenced this pull request Oct 1, 2024
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
kumahq bot pushed a commit that referenced this pull request Oct 1, 2024
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
kumahq bot pushed a commit that referenced this pull request Oct 1, 2024
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
kumahq bot pushed a commit that referenced this pull request Oct 1, 2024
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
lukidzi pushed a commit that referenced this pull request Oct 1, 2024
…#11611)

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
slonka pushed a commit that referenced this pull request Oct 1, 2024
…#11612)

* revert(kuma-cp): do not use additional addresses (#11601)

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>

* resolve conflict

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>

---------

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
Co-authored-by: Lukasz Dziedziak <lukidzi@gmail.com>
slonka pushed a commit that referenced this pull request Oct 1, 2024
…#11609)

* revert(kuma-cp): do not use additional addresses (#11601)

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>

* resolve conflict

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>

---------

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
Co-authored-by: Lukasz Dziedziak <lukidzi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants