-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix(routing): fix static routing table args #3363
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
Conversation
Latency summaryCurrent PR yields:
Breakdown
Backed by latency-tracking. Further commits will update this comment. |
a4d4d94
to
1693857
Compare
Codecov Report
@@ Coverage Diff @@
## master #3363 +/- ##
==========================================
+ Coverage 83.53% 89.61% +6.08%
==========================================
Files 152 152
Lines 10840 10842 +2
==========================================
+ Hits 9055 9716 +661
+ Misses 1785 1126 -659
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
29526a3
to
dd6cfb8
Compare
* fix(routing): fix static routing table args * fix(routing): move routing table args outside of gateway * style: fix overload and cli autocomplete * style: fix overload and cli autocomplete * fix(routing): fix zmqlet static routing check * fix(routing): fix args setting Co-authored-by: Jina Dev Bot <dev-bot@jina.ai>
While trying to use static routing tables in kubernetes (meaning not sending it in every message), I noticed that this actually does not work when using the real CLI.
I was using the wrong pattern before (--flag ), this PR fixes this and unifies the arg to
--static-routing-table
.By default this args is false and only if provided it disables sending out the routing table.
Also I fix I minor thing in the K8s pod where I need to regenerate the args on demand (because some args are calculated later).