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(kuma-cp) handle missing TrafficRoute #1188

Merged
merged 1 commit into from
Nov 20, 2020

Conversation

jakubdyszkiewicz
Copy link
Contributor

@jakubdyszkiewicz jakubdyszkiewicz commented Nov 20, 2020

Summary

Since 1.0 traffic is only routed when there is a TrafficRoute in the cluster. It is legal to remove it and see no traffic.
Before this PR, the Envoy config generation would fail, but what we want to do is to generate a config that does not route to the cluster.

My prediction is that 99% of cases when user will see this log is when they will delete TrafficRoute by accident therefore I'm putting a link in logs to the website where there will be a section with default TrafficRoute and an explanation that this will be required.

Documentation

Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
Copy link
Contributor

@nickolaev nickolaev left a comment

Choose a reason for hiding this comment

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

LGTM

@jakubdyszkiewicz jakubdyszkiewicz merged commit d3c8a78 into master Nov 20, 2020
@jakubdyszkiewicz jakubdyszkiewicz deleted the fix/handle-missing-traffic-routes branch November 20, 2020 16:39
mergify bot pushed a commit that referenced this pull request Nov 20, 2020
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
(cherry picked from commit d3c8a78)
nickolaev pushed a commit that referenced this pull request Nov 20, 2020
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
(cherry picked from commit d3c8a78)

Co-authored-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.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.

None yet

2 participants