8000 ui: v0.9.0 images and drop envoy proxy container by geakstr · Pull Request #19565 · cilium/cilium · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ui: v0.9.0 images and drop envoy proxy container #19565

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

Merged
merged 1 commit into from
May 31, 2022

Conversation

geakstr
Copy link
Contributor
@geakstr geakstr commented Apr 25, 2022

Previously we used envoy proxy container to convert grpc-web traffic to
true grpc traffic, so ui backend accepts real grpc traffic. There is
an alternative approach to use special wrapper
for grpc service on backend:
https://github.com/improbable-eng/grpc-web/tree/master/go/grpcweb

Related code changes on hubble-ui itself was implemented in this PR:
cilium/hubble-ui#226

This also bumps UI images to v0.9.0 with actual implementation.

Signed-off-by: Dmitry Kharitonov dmitry@isovalent.com

@geakstr geakstr added area/helm Impacts helm charts and user deployment experience needs-backport/1.9 labels Apr 25, 2022
@geakstr geakstr self-assigned this Apr 25, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Apr 25, 2022
@geakstr geakstr force-pushed the pr/dima/ui-drop-envoy-proxy-container branch 2 times, most recently from fd0a64a to f96ed87 Compare April 26, 2022 13:03
@geakstr geakstr marked this pull request as ready for review April 26, 2022 13:16
@geakstr geakstr requested a review from a team April 26, 2022 13:16
@geakstr geakstr requested a review from a team as a code owner April 26, 2022 13:16
@geakstr geakstr requested a review from a team April 26, 2022 13:16
@geakstr geakstr requested a review from a team as a code owner April 26, 2022 13:16
@geakstr geakstr force-pushed the pr/dima/ui-drop-envoy-proxy-container branch 3 times, most recently from 7145b08 to 10dae03 Compare April 26, 2022 13:41
Comment on lines +25 to +29
location /api {
proxy_http_version 1.1;
proxy_pass_request_headers on;
proxy_hide_header Access-Control-Allow-Origin;
proxy_pass http://127.0.0.1:8090;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this configuration also perform prefix rewrite like what we have before with envoy ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have appropriate change on UI backend itself, now it actually listens on /api path https://github.com/cilium/hubble-ui/blob/bfefef23928e159f8416b42612097a83ba0ae67f/backend/main.go#L59-L63

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so does it mean that with this change hubble ui image must be at least v0.9.0+ ? If it's the case, what do you think about adding such validation here https://github.com/cilium/cilium/blob/master/install/kubernetes/cilium/templates/validate.yaml ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. How could I run this validation to check if wrote this right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this commen 8000 t to others. Learn more.

it will be run automatically as part of helm install or helm template with supplied values.

@geakstr geakstr force-pushed the pr/dima/ui-drop-envoy-proxy-container branch from 10dae03 to 571f344 Compare April 26, 2022 14:31
@geakstr geakstr changed the title ui: drop envoy proxy container ui: v0.9.0 images and drop envoy proxy container Apr 26, 2022
Copy link
Member
@sayboras sayboras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested this changes locally, seems working fine. Cilium CLI also works as usual.

Just one comment on image version validation above.

@sayboras sayboras added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label Apr 27, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Apr 27, 2022
@maintainer-s-little-helper
Copy link

Commit 9fa62fe2e61e4fd1a42495a575291b9da4b31ee6 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

8000

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label Apr 27, 2022
@geakstr geakstr force-pushed the pr/dima/ui-drop-envoy-proxy-container branch from 9fa62fe to ab5f51c Compare April 27, 2022 11:51
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label Apr 27, 2022
@joestringer joestringer added backport-done/1.10 backport-done/1.11 The backport for Cilium 1.11.x for this PR is done. and removed backport-pending/1.10 labels Jun 9, 2022
@qmonnet qmonnet mentioned this pull request Jun 30, 2022
4 tasks
michi-covalent added a commit to isovalent/olm-for-cilium that referenced this pull request Feb 19, 2024
cilium/cilium#19565 removed hubble-ui-proxy from
the Helm chart. Remove all the references to hubble-ui-proxy in the OLM
templates.

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
michi-covalent added a commit to isovalent/olm-for-cilium that referenced this pull request Feb 20, 2024
cilium/cilium#19565 removed hubble-ui-proxy from
the Helm chart. Remove all the references to hubble-ui-proxy in the OLM
templates.

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Impacts helm charts and user deployment experience backport-done/1.11 The backport for Cilium 1.11.x for this PR is done. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0