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

[Docs] Added doc on how to handle a large response when using FlyteRemote.sync #1212

Merged
merged 8 commits into from
Oct 7, 2022
5 changes: 5 additions & 0 deletions docs/source/design/control_plane.rst
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ You can use :meth:`~flytekit.remote.remote.FlyteRemote.sync` to sync the entity
synced_execution = remote.sync(execution, sync_nodes=True)
node_keys = synced_execution.node_executions.keys()

when using ``FlyteRemote.sync``
Ln11211 marked this conversation as resolved.
Show resolved Hide resolved

- ``Received message larger than max (xxx vs. 4194304)`` usually crops up when the message size is too large.
- To fix this, edit the flyte-admin-base-config config map to increase ``maxMessageSizeBytes`` value.

``node_executions`` will fetch all the underlying node executions recursively.

To fetch output of a specific node execution:
Expand Down