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

Fix separateGrpcIngress flag not working in flyte-binary helm chart #4946

Merged
merged 11 commits into from
Mar 27, 2024

Conversation

lowc1012
Copy link
Contributor

@lowc1012 lowc1012 commented Feb 24, 2024

Tracking issue

Closes #4870

Why are the changes needed?

We added .Values.ingress.separateGrpcIngress in flyte-core chart, but not in flyte-binary.

What changes were proposed in this pull request?

  1. add ingress.separateGrpcIngress (false by default) in values.yaml for flyte-binary chart
  2. separate the ingress and service resources for grpc & http according this flag

How was this patch tested?

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working documentation Improvements or additions to documentation labels Feb 24, 2024
Signed-off-by: Ryan Lo <[email protected]>
@lowc1012
Copy link
Contributor Author

Hi @eapolinario
Can you help review this one at your convenience time? Thank you

Signed-off-by: Ryan Lo <[email protected]>
Signed-off-by: Ryan Lo <[email protected]>
Signed-off-by: Ryan Lo <[email protected]>
Signed-off-by: Ryan Lo <[email protected]>
Copy link

codecov bot commented Mar 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.02%. Comparing base (78a690f) to head (59626d1).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4946      +/-   ##
==========================================
+ Coverage   59.00%   59.02%   +0.02%     
==========================================
  Files         645      645              
  Lines       55672    55726      +54     
==========================================
+ Hits        32847    32895      +48     
- Misses      20230    20234       +4     
- Partials     2595     2597       +2     
Flag Coverage Δ
unittests 59.02% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Signed-off-by: Ryan Lo <[email protected]>
@davidmirror-ops
Copy link
Contributor

I just tried this PR on a local K8s cluster with NGINX.

Regardless of setting ingress.separateGrpcIngress to false it still creates two Ingress resources.

 k get ingress -n flyte                                                      
NAME                     CLASS   HOSTS                ADDRESS   PORTS   AGE
flyte-binary-test-http   nginx   flyte.mydomain.com             80      6s
flyte-binary-test-grpc   nginx   flyte.mydomain.com             80      6s

What other flag should be set?

@lowc1012
Copy link
Contributor Author

@davidmirror-ops
hmm... no other flag. here is my test screenshot
截圖 2024-03-23 凌晨2 16 43

Copy link
Contributor

@davidmirror-ops davidmirror-ops left a comment

Choose a reason for hiding this comment

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

Thank you!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 26, 2024
@davidmirror-ops
Copy link
Contributor

@neverett any idea why the docs test fails here with a bunch of imports?

@eapolinario eapolinario merged commit c81133b into flyteorg:master Mar 27, 2024
53 checks passed
- /flyteidl.service.AdminService
- /flyteidl.service.AdminService/*
- /flyteidl.service.AuthMetadataService
- /flyteidl.service.AuthMetadataService/
Copy link
Contributor

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] separateGrpcIngress flag not working in flyte-binary helm chart
4 participants