https://flyte.org logo
#ask-the-community
Title
# ask-the-community
s

Sanjay Chouhan

09/28/2022, 9:33 AM
https://docs.flyte.org/projects/flytectl/en/latest/gen/flytectl_register_files.html How to generate the protobuf files for a task or workflow for registrations?
a

Anthony

09/28/2022, 9:52 AM
.
s

Samhita Alla

09/28/2022, 10:07 AM
@Sanjay Chouhan, the
flytectl register …
command generates the protobuf files.
Copy code
flytectl register files --project flytesnacks --domain development --archive flyte-package.tgz --version v1
Try this after you serialized your code using
pyflyte --pkgs flyte.workflows package --image "my_flyte_project:v1"
. See https://docs.flyte.org/projects/cookbook/en/latest/auto/larger_apps/larger_apps_deploy.html page for reference.
s

Sanjay Chouhan

09/28/2022, 11:00 AM
@Samhita Alla what will we have in the image? Do we have the codes (task and workflow) in the image?
k

Kevin Su

09/28/2022, 11:21 AM
pyflyte register use fast register by default, which will upload workflow code to s3, and download to the local disk inside the pod when running, more detail, check this doc.
26 Views