what am i missing here?
# flyte-support
t
what am i missing here?
t
If you're importing the boto3 library in your flyte workflow, the default Docker image won't work. Have you tried using image spec? https://github.com/flyteorg/flytesnacks/pull/988
t
Samhita, my requirements.txt has boto3 in it, and I'm packaging up my repo
pyflyte --pkgs flyte.workflows package --image me/pdi:flyte-0.0.2.rez-dev
and then running
flytectl register files --config /Users/rezwan.abir/.flyte/config.yaml --destinationDirectory . --project flytesnacks --domain development --archive flyte-package.tgz
to register workflow
why should it complain about boto3 not found now
t
It shouldn't. Can you please check if your tasks are using the specified image?
t
getting a different error, backing off pulling image
apparently i have to run kubectl create secret for flyte docker
t
Is it a private image?
t
yes, i figured out, had to set a secret with credentials
all good now
202 Views