-
Notifications
You must be signed in to change notification settings - Fork 255
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
Feature: Add network policy names in hubble #1100
Comments
Thanks for the request. This requires cilium/cilium#26438 to be implemented on the server-side first |
@gandro Thanks for your answer, is there a timeline when this will happen? |
@gandro I'd be willing to open a PR for this if nobody else is actively working on it. |
…e known and correlated to flows. Fixes: cilium/hubble#1100 Signed-off-by: Kris Gambirazzi <[email protected]>
Hi, so in the mean time, we've merged cilium/cilium#27854 - which implements this server-side. You should see the policy name for policy verdict events if you do JSON output, i.e. something like I'm not sure if/how we could add the policy name to the textual output without making the output too noisy. Suggestions welcome. |
I can confirm that the above command does provide the matching policy names for flows. As for the textual output, I agree that adding the policies would be too noisy. Perhaps initially we could provide "hints" as to the total number of matching policies, leaving the actual textual representation of the policies to be retrieved via the aforementioned json output. Example output, introducing
Would such output be useful for network operators and those investigating flows at a glance? Perhaps @Tim-herbie you might have some opinion if the json output satisfies your original feature request, then we could simply mark this issue as closed/resolved. |
Thanks for confirming! Yeah I think adding at least the policy count could be a nice addition |
Thank you so far. I understand that the log output is too noisy when the policy name will be displayed. Is it maybe possible to output this by adding a parameter? And is it now possible to see the policy name also in the UI? |
…e known and correlated to flows. Fixes: cilium/hubble#1100 Signed-off-by: Kris Gambirazzi <[email protected]>
…e known and correlated to flows. Fixes: cilium/hubble#1100 Signed-off-by: Kris Gambirazzi <[email protected]>
Cilium Feature Proposal
Is your feature request related to a problem?
No, but it would simplify troubleshooting network connections within Kubernetes.
Describe the feature you'd like
When I started using Cilium, I have noticed that the name of the CiliumNetworkPolicy as well as the name of the CiliumClusterwideNetworkPolicy will not be shown in the cilium hubble ui as well as in hubble observe. For me, the observability would be increased when I could comprehend why the traffic was accepted or denied.
(Optional) Describe your proposed solution
Add the network policy name to the hubble ui and hubble observe as value.
The text was updated successfully, but these errors were encountered: