-
Notifications
You must be signed in to change notification settings - Fork 327
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
feat(kuma-cp) TrafficRoute L7 implementation #2062
Conversation
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
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.
lgtm
…l7-impl Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
envoy_common.WithExternalService(isExternalService), | ||
) | ||
|
||
if name, ok := clusterCache[cluster.Hash()]; ok { |
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'm not sure I understand it. Hash is calculated as $name-$tags
, so if hashes are equal then names are equal as well. That's why I don't understand why do we call cluster.SetName(name)
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.
The weights might be different. So it's either take existing cluster, copy it and change the weight or take a new one and override the name. The rest should be the same
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
Summary
Implementation of L7 routing.
Issues resolved
Fix #885
Documentation
modify
sectionTesting