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

Adedeji Ayinde

10/28/2022, 9:20 PM
I am trying to register and run a workflow on a remote flyte cluster using an image in ecr, however I keep getting error message. Does anyone how to get around this
Copy code
img = ImageConfig.from_images(
    "6***********.<http://dkr.ecr.us-east-1.amazonaws.com/feathr-demo:latest|dkr.ecr.us-east-1.amazonaws.com/feathr-demo:latest>"
)

flyte_workflow = remote.register_workflow(
    entity=wf_bb,
    serialization_settings=SerializationSettings(image_config=img),
    version="v1.0",
)
Error
Copy code
[1/1] currentAttempt done. Last Error: USER::containers with unready status: [ax9m22wmc8xwpmhqmllt-n0-0]|Back-off pulling image "6*********.<http://dkr.ecr.us-east-1.amazonaws.com/feathr-demo:latest|dkr.ecr.us-east-1.amazonaws.com/feathr-demo:latest>"
k

Kevin Su

10/28/2022, 10:20 PM
The pods failed to pull the image. It’s a private image, right? you can refer to this guide to add imagePullSecret to service account, then the pods will be able to pull the image.
14 Views