-
Notifications
You must be signed in to change notification settings - Fork 671
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
Set flyteadmin grpc port correctly in config / Flyte-core flyteadmin / datacatalog expose ports #5013
Set flyteadmin grpc port correctly in config / Flyte-core flyteadmin / datacatalog expose ports #5013
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5013 +/- ##
=======================================
Coverage 58.99% 58.99%
=======================================
Files 645 645
Lines 55648 55648
=======================================
Hits 32831 32831
Misses 20222 20222
Partials 2595 2595
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
af3821d
to
03c79e0
Compare
Moved back to draf for the moment - given what the config definition actually looks like. flyte/flyteadmin/pkg/config/config.go Lines 17 to 54 in fd42f65
I think it should be more like |
03c79e0
to
fc5cd5e
Compare
Confirmed that the setting should be There were 4 files that I had to edit by hand that look like they should be generated, but I couldn't figure out the process for generating them:
|
@@ -626,7 +626,8 @@ configmap: | |||
# Refer to the [server config](https://pkg.go.dev/github.com/lyft/[email protected]/pkg/config#ServerConfig). | |||
server: | |||
httpPort: 8088 | |||
grpcPort: 8089 | |||
grpc: |
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.
deployment/eks/flyte_generated.yaml
Outdated
@@ -8135,7 +8135,8 @@ data: | |||
server.yaml: | | |||
server: | |||
httpPort: 8088 | |||
grpcPort: 8089 | |||
grpc: |
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 how this file is regenerated, so edited by hand
deployment/gcp/flyte_generated.yaml
Outdated
@@ -8132,7 +8132,8 @@ data: | |||
server.yaml: | | |||
server: | |||
httpPort: 8088 | |||
grpcPort: 8089 | |||
grpc: |
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 how this file is regenerated, so edited by hand
@@ -2145,7 +2145,8 @@ data: | |||
server.yaml: | | |||
server: | |||
httpPort: 8088 | |||
grpcPort: 8089 | |||
grpc: |
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 how this file is regenerated, so edited by hand
@@ -293,7 +293,8 @@ data: | |||
server.yaml: | | |||
server: | |||
httpPort: 8088 | |||
grpcPort: 8089 | |||
grpc: |
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 how this file is regenerated, so edited by hand
@ddl-ebrown I think running |
I always run
UPDATE: After rebasing and regenerating, I see that those first 3 files are no longer part of the repo. So the only unexplained file is deployment/test/flyte_generated.yaml |
fc5cd5e
to
23b3660
Compare
Looks like there's a new process for bumping the chart version number? |
@ddl-ebrown with the merge of #5072 you should rebase and merge master to pass the lint test. |
- Flyteadmin setting for the grpc port is nested and grpcPort should not be used. Address incorrect config / documentation - Both flyteadmin and datacatalog have configurable ports to use for HTTP and GRPC, but the k8s spec for the containers doesn't expose matching ports. Fix that! Signed-off-by: ddl-ebrown <[email protected]>
23b3660
to
53b70b7
Compare
@davidmirror-ops rebased and repushed - hopefully we're good to get this one merged. |
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.
Thank you!
Tracking issue
https://github.com/flyteorg/flyte/issues/
Why are the changes needed?
Flyteadmin setting for the grpc port is nested and grpcPort should
not be used. Address incorrect config / documentation
Both flyteadmin and datacatalog have configurable ports to use for
HTTP and GRPC, but the k8s spec for the containers doesn't expose
matching ports.
Fix that!
What changes were proposed in this pull request?
Correctly use the values from values.yaml inside the k8s specs for listening container ports
How was this patch tested?
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link