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
hubble: Use a single string to configure the server address #11330
Conversation
Added another commit to to change hubble-ui to connect to hubble-relay. |
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.
LGTM
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.
LGTM
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.
It looks good but I think we can simplify this further.
bc6007c
to
9deccf9
Compare
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.
Awesome! Please, just remove the if
check as it is superfluous now.
9deccf9
to
96fabbc
Compare
hm i think i broke something. fixing now |
96fabbc
to
6178aff
Compare
ready for review cc @rolinh |
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.
LGTM, thanks!
test-me-please |
1 similar comment
test-me-please |
restart-ginkgo |
Commit abc0caf202b7d10c8b6d31ac7b4fdbf91f791c33 does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
abc0caf
to
4609feb
Compare
Commit abc0caf202b7d10c8b6d31ac7b4fdbf91f791c33 does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
test-with-kernel |
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.
Not sure if I missed the leftover print debugging statement during my last review or if you added them with a force push but I'm pretty sure we don't want to keep them :)
- Rename the option to `--hubble-listen-address` to make it clear that Hubble listens to at most one additional address. - Remove an info message that doesn't provide any addtional info: ``` level=info msg="Starting local Hubble server" address="unix:///var/run/cilium/hubble.sock" subsys=hubble level=info msg="Starting Hubble server" address=":4244" subsys=hubble - level=info msg="Starting gRPC server on listener" listener="unix:///var/run/cilium/hubble.sock" subsys=hubble - level=info msg="Starting gRPC server on listener" listener=":4244" subsys=hubble ``` - Use port 4244 in the documentation since this is the port that Hubble relay expects. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
- Configure hubble-ui to connect to hubble-relay:80. Now hubble-relay is responsible for retrieving flows from Cilium instances. - Remove hubble-grpc service. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
Now that Hubble has 1 unix domain socket and at most 1 TCP socket to serve, we can simply use `With{UnixSocket,TCP}Listener` options. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
4609feb
to
5b6be3e
Compare
The test failure is unrelated to the PR, should be fixed by #11427 |
--hubble-listen-address
to make it clear thatHubble listens to at most one additional address.
relay expects.
Signed-off-by: Michi Mutsuzaki michi@isovalent.com