-
Notifications
You must be signed in to change notification settings - Fork 252
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
improve cli help text for service filtering #730
improve cli help text for service filtering #730
Conversation
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.
Thank you for the PR @ILLIDOM!
I have comments, and also there is a typo in the commit message, please s/desrcribed/described/
.
Thank you @ILLIDOM, could you squash the two commit into one please 🙏? |
The way the service field in Hubble flows has been implemented so far is that it only works if the destination IP is the service ClusterIP. This makes the following lines from hubble observe --help misleading: --from-service filter Show all flows originating in the given service ([namespace/]<svc-name>). If namespace is not provided, 'default' is used --service filter Show all flows related to the given service ([namespace/]<svc-name>). If namespace is not provided, 'default' is used --to-service filter Show all flows terminating in the given service ([namespace/]<svc-name>). If namespace is not provided, 'default' is used This patch changes the help message to address the inaccuracy described above. Fixes: cilium#713 Signed-off-by: Dominique Illi illi.dominique.v@gmail.com
0cb882a
to
8e9d612
Compare
@kaworu I have done a |
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!
The way the service field in Hubble flows has been implemented so far is that it only works if the destination IP is the service ClusterIP. This makes the following lines from hubble observe --help misleading:
--from-service filter Show all flows originating in the given service ([namespace/]). If namespace is not provided, 'default' is used
--service filter Show all flows related to the given service ([namespace/]). If namespace is not provided, 'default' is used
--to-service filter Show all flows terminating in the given service ([namespace/]). If namespace is not provided, 'default' is used
This patch changes the help message to address the inaccuracy described above.
Fixes: #713
Signed-off-by: Dominique Illi illi.dominique.v@gmail.com