I am trying to register and run a workflow on a re...
# flyte-support
b
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>"
g
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.
👍 1
180 Views