<#7484 fix(flyte-binary): route ClusterService thr...
# flyte-github
a
#7484 fix(flyte-binary): route ClusterService through the gRPC ingress Pull request opened by pingsutw Tracking issue Why are the changes needed? The dataproxy
ClusterService
(
flyteidl2.cluster.ClusterService
) is served by the binary (
dataproxy/setup.go
mounts
NewClusterServiceHandler
), but it was missing from the ingress
grpcPaths
. As a result the ALB returns HTTP 404 for
/flyteidl2.cluster.ClusterService/*
. Any client that calls
SelectCluster
is broken by this. In particular the SDK calls
SelectCluster
with
operation=OPERATION_CREATE_UPLOAD_LOCATION
before uploading task inputs, so it fails with:
Copy code
RuntimeError: SelectCluster failed for operation=1: Not Found
What changes were proposed in this pull request? •
templates/_helpers.tpl
— add
/flyteidl2.cluster.ClusterService
and
/flyteidl2.cluster.ClusterService/*
to
flyte-binary.ingress.grpcPaths
, alongside the other
flyteidl2.*
services (next to
DataProxyService
, since
ClusterService
lives in the dataproxy package). The path points at the same HTTP/gRPC backend as the other services. How was this patch tested? •
helm template --set ingress.create=true --set ingress.separateGrpcIngress=true
now renders the two
ClusterService
paths in the gRPC ingress. •
helm lint charts/flyte-binary
passes. • Verified live on a dev cluster: before the change
POST /flyteidl2.cluster.ClusterService/SelectCluster
returned `404`; after adding the routes it returns
200
and the SDK's upload path succeeds. Labels fixed Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. flyteorg/flyte