I am trying to register and run a workflow on a re...
# ask-the-community
a
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
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.
126 Views