<https://docs.flyte.org/projects/flytectl/en/lates...
# ask-the-community
s
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
.
s
@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
@Samhita Alla what will we have in the image? Do we have the codes (task and workflow) in the image?
k
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.
157 Views