-
Notifications
You must be signed in to change notification settings - Fork 483
tetra/getevents: add a --reconnect option #3438
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
mtardy
left a comment
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.
Could we make this the default, I think it would benefit everybody? Also it might be confusing with the gRPC retry already a flag.
I wouldn't make this the default because it breaks compatibility. |
It retries the attempt to connect to the gRPC server ebae77f. It wouldn't retry after a successful attempt as you noticed, it's for the initial connection to the gRPC server. |
|
How about I change the |
maybe |
EDIT: Yes agree same idea I would keep |
2a045c7 to
281dce9
Compare
👍🏼 Pushed a new version. |
mtardy
left a comment
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.
Thanks looks good, just a question on the name "timeout"
In certain situations (e.g., development) it's useful to have a tetra client constantly running as you are restarting the tetragon agent. Add a --reconnect option in the tetra getevents command to support this. Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
281dce9 to
a982517
Compare
olsajiri
left a comment
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.
nice, looks useful
In certain situations (e.g., development) it's useful to have a tetra client constantly running as you are restarting the tetragon agent. Add a --reconnect option in the tetra getevents command to support this.