square-electrician-23399
12/31/2024, 12:39 PMpod_template=PodTemplate(labels={"spot": "false"})
That's what i'm trying to do, but I get the error ModuleNotFoundError: No module named 'kubernetes'
Did anyone try to use just one argument in the PodTemplate?tall-lock-23197
kubernetes
to your image? it is necessary for the pod template to work.square-electrician-23399
12/31/2024, 12:44 PMtall-lock-23197
square-electrician-23399
12/31/2024, 12:47 PMtall-lock-23197
tall-lock-23197
square-electrician-23399
12/31/2024, 12:54 PMpyflyte -c ./.config/local-config.yaml register -p dataengineer -d development --image normalized_roles=blah-blah-docker.dev/images/data-wf-normalized-roles:testing-out-spot-instance_50dfab2 flyte/workflows/normalized_roles_enrichment_wf.py
tall-lock-23197
All of the tasks in my workflow use the same image I guess if I don't define a specific one, right?that's right. understood. in that case, you'd have to add the package to your repo-specific image, which you did. 🙂
square-electrician-23399
12/31/2024, 12:56 PMtall-lock-23197
tall-lock-23197
square-electrician-23399
12/31/2024, 12:59 PM