<https://docs.flyte.org/projects/flytectl/en/lates...
# flyte-support
g
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
.
t
@gray-magician-44602, the
flytectl register …
command generates the protobuf files.
g
@tall-lock-23197 Can you please give me the exact command? I think with register command we are using the .pd files and not generating them.
t
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.
g
@tall-lock-23197 what will we have in the image? Do we have the codes (task and workflow) in the image?
g
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.
158 Views