https://prefect.io logo
Title
y

Ysé Wanono

03/13/2023, 10:58 AM
Hello! I try to use prefect on a local kubernetes cluster with a Kubernetes Job infrastructure. My flow code is located on a S3 bucket. Flow deployment correctly push flow code on the s3 bucket. But the flow run can’t download correctly in local (in pod i mean) the flow code. How come? I thank you for your help!
1
dummy flow is:
from prefect import flow, get_run_logger


@flow()
def dummy_flow() -> None:
    logger = get_run_logger()
    <http://logger.info|logger.info>("Hello")


if __name__ == "__main__":
    dummy_flow()
r

redsquare

03/13/2023, 11:08 AM
it might be down to sf3s version - can you try to pin to 2023.1.0 and see
i've had the same issue
y

Ysé Wanono

03/13/2023, 12:56 PM
Thank you for your answer! I will try that and i will let you know! 🙏
👍 1
Yes! It worked with sf3s==2023.1.0! Thank you! :gratitude-thank-you:
r

redsquare

03/13/2023, 2:02 PM
hopefully they will fix their regression and we can remove the pin!