Skip to content
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

helm: add envoy gateway addon helm chart support #3470

Merged
merged 8 commits into from
Jun 4, 2024

Conversation

shawnh2
Copy link
Contributor

@shawnh2 shawnh2 commented May 24, 2024

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

ref #3355

Copy link

codecov bot commented May 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.17%. Comparing base (3712659) to head (0e7436e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3470      +/-   ##
==========================================
+ Coverage   68.12%   68.17%   +0.04%     
==========================================
  Files         165      165              
  Lines       20122    20122              
==========================================
+ Hits        13708    13718      +10     
+ Misses       5416     5409       -7     
+ Partials      998      995       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shawnh2
Copy link
Contributor Author

shawnh2 commented May 27, 2024

This PR only include DP metrics and Grafana support, will send another PR to include CP metrics as well (#3474 (comment))

@shawnh2 shawnh2 changed the title helm: add dashboard addon helm chart helm: add envoy gateway addon helm chart support May 28, 2024
@arkodg
Copy link
Contributor

arkodg commented May 29, 2024

hey @shawnh2 , @zhaohuabing @guydc and I brought this up in the community meeting today and aligned on

  • calling this chart gateway-demo-helm
  • adding envoy gateway as a sub chart (sorry for the churn here)

@shawnh2
Copy link
Contributor Author

shawnh2 commented May 30, 2024

This PR only include DP metrics and Grafana support, will send another PR to include CP metrics as well (#3474 (comment))

Lets include Grafana dashboard for CP as well, so wait until #3506 landed.

and the doc under https://gateway.envoyproxy.io/latest/tasks/observability/ can be updated with this helm demo support.

@shawnh2
Copy link
Contributor Author

shawnh2 commented May 31, 2024

hey @shawnh2 , @zhaohuabing @guydc and I brought this up in the community meeting today and aligned on

  • calling this chart gateway-demo-helm
  • adding envoy gateway as a sub chart (sorry for the churn here)

If we are including envoy-gateway helm as well, we may not install this demo chart just using one helm install, cause eg and prom/grafana should be installed at different namespace. But helm does not support installing dependencies at different namespace. xref: helm/helm#10905

So:

  • Do we accpet installing all the dependencies at the same one namespace?
  • There's another tool helmfile could solve this problem, but will introduce more operations for users.
  • I can understand why we are trying to include eg as a dependency, to provide users with a one-stop eg-with-addons experience. But exclude eg does not affect this, we still can provide one-stop abilities for all the addons. And can solve this problem more easily.

@arkodg
Copy link
Contributor

arkodg commented May 31, 2024

ah then lets go with the previous approach of gateway-addons-helm and rm envoy-gateway from this chart

@shawnh2 shawnh2 requested review from zirain and arkodg June 1, 2024 03:34
@shawnh2 shawnh2 marked this pull request as ready for review June 1, 2024 03:36
@shawnh2 shawnh2 requested a review from a team as a code owner June 1, 2024 03:36
tools/make/helm.mk Outdated Show resolved Hide resolved
Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks !

@arkodg arkodg requested review from a team June 4, 2024 19:24
@arkodg
Copy link
Contributor

arkodg commented Jun 4, 2024

hey @phlax once this PR merges, we'll be pushing a new Helm Chart envoyproxy/gateway-addons-helm , will the CI be able to push using the existing PAT or do we need to create the repo in dockerhub before hand ?

Copy link
Contributor

@zirain zirain left a comment

Choose a reason for hiding this comment

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

LGTM, may need wait @phlax first.

@arkodg arkodg merged commit 607d8bc into envoyproxy:main Jun 4, 2024
22 checks passed
@shawnh2 shawnh2 deleted the helm-dashborad-addon branch June 4, 2024 22:44
@guydc guydc mentioned this pull request Jun 6, 2024
phantooom pushed a commit to phantooom/gateway that referenced this pull request Jun 6, 2024
* initial dashboard addon helm chart

Signed-off-by: shawnh2 <[email protected]>

* rename addon name and remove gateway-helm support

Signed-off-by: shawnh2 <[email protected]>

* remove /charts from .helmignore

Signed-off-by: shawnh2 <[email protected]>

* rename to gateway-addons-helm and keep one source of truth

Signed-off-by: shawnh2 <[email protected]>

* restore examples values and fix comments

Signed-off-by: shawnh2 <[email protected]>

* rewrite helm makefile

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: phantooom <[email protected]>
phantooom pushed a commit to phantooom/gateway that referenced this pull request Jun 6, 2024
* initial dashboard addon helm chart

Signed-off-by: shawnh2 <[email protected]>

* rename addon name and remove gateway-helm support

Signed-off-by: shawnh2 <[email protected]>

* remove /charts from .helmignore

Signed-off-by: shawnh2 <[email protected]>

* rename to gateway-addons-helm and keep one source of truth

Signed-off-by: shawnh2 <[email protected]>

* restore examples values and fix comments

Signed-off-by: shawnh2 <[email protected]>

* rewrite helm makefile

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: phantooom <[email protected]>
zirain added a commit that referenced this pull request Jun 18, 2024
* helm: add envoy gateway addon helm chart support (#3470)

* initial dashboard addon helm chart

Signed-off-by: shawnh2 <[email protected]>

* rename addon name and remove gateway-helm support

Signed-off-by: shawnh2 <[email protected]>

* remove /charts from .helmignore

Signed-off-by: shawnh2 <[email protected]>

* rename to gateway-addons-helm and keep one source of truth

Signed-off-by: shawnh2 <[email protected]>

* restore examples values and fix comments

Signed-off-by: shawnh2 <[email protected]>

* rewrite helm makefile

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: phantooom <[email protected]>

* chore: Remove namespace restriction for EnvoyProxy parametersRef resource

Signed-off-by: phantooom <[email protected]>

* chore: add CEL validation for BackendRef Group

Signed-off-by: phantooom <[email protected]>

* chore: add CEL validation for BackendRef Group

Signed-off-by: phantooom <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: phantooom <[email protected]>
Co-authored-by: sh2 <[email protected]>
Co-authored-by: zirain <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants