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

fix: weighted services for source #203

Merged

Conversation

itsLucario
Copy link
Collaborator

@itsLucario itsLucario commented Apr 14, 2022

weightedServices was initialized with K8s services without the source cluster context, which results in wrong weightedServices being used when the service existed in multiple cluster.

The PR fixes the issue by initializing sourceWeightedServices with source cluster as key and use it for endpoint's local FQDN.

nbn01 added 2 commits April 14, 2022 18:27
Signed-off-by: nbn01 <nandan_bn@intuit.com>
If the canary rollout present in both east and west

Signed-off-by: nbn01 <nandan_bn@intuit.com>
@aattuluri aattuluri merged commit 1e87e92 into istio-ecosystem:master Apr 14, 2022
psikka1 pushed a commit to psikka1/admiral that referenced this pull request Jun 14, 2022
* fix: local fqdn not updated within same cluster for bluegreen

Signed-off-by: nbn01 <nandan_bn@intuit.com>

* fix: wrong local FQDN updated for canary with weights
If the canary rollout present in both east and west

Signed-off-by: nbn01 <nandan_bn@intuit.com>

Co-authored-by: nbn01 <nandan_bn@intuit.com>
psikka1 pushed a commit to psikka1/admiral that referenced this pull request Jun 15, 2022
* fix: local fqdn not updated within same cluster for bluegreen

Signed-off-by: nbn01 <nandan_bn@intuit.com>

* fix: wrong local FQDN updated for canary with weights
If the canary rollout present in both east and west

Signed-off-by: nbn01 <nandan_bn@intuit.com>

Co-authored-by: nbn01 <nandan_bn@intuit.com>
Signed-off-by: psikka1 <pankaj_sikka@intuit.com>
asushanthk pushed a commit that referenced this pull request Jul 21, 2022
* fix: local fqdn not updated within same cluster for bluegreen

Signed-off-by: nbn01 <nandan_bn@intuit.com>

* fix: wrong local FQDN updated for canary with weights
If the canary rollout present in both east and west

Signed-off-by: nbn01 <nandan_bn@intuit.com>

Co-authored-by: nbn01 <nandan_bn@intuit.com>
Signed-off-by: sa <sushanth_a@intuit.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants