James Zhang
11/21/2022, 3:24 PMERROR | prefect.agent - Failed to submit flow run 'xxxx' to infrastructure.
how can I investigate the details?Ryan Peden
11/21/2022, 3:28 PMJames Zhang
11/21/2022, 3:29 PMRyan Peden
11/21/2022, 3:31 PMJames Zhang
11/21/2022, 3:32 PMRyan Peden
11/21/2022, 3:34 PMJames Zhang
11/21/2022, 3:44 PMDockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
wonder what’s missing here…Ryan Peden
11/21/2022, 3:50 PMJames Zhang
11/21/2022, 3:51 PMprefect kubernetes manifest agent
and it uses standard prefecthq/prefect:2.6.8-python3.9
image, seems there’s no docker in this imageRyan Peden
11/21/2022, 4:09 PMJames Zhang
11/21/2022, 4:28 PMdocker
command? did I do something wrong?Ryan Peden
11/21/2022, 4:34 PMDockerContainer
block do it on a VM. KubernetesJob
is more common on K8s, which is probably why we don't see a lot of Docker-in-Docker discussion.
To answer your other question, when use use DockerContainer
, the agent doesn't run any Docker commands; instead, it uses the Docker SDK for Python to talk directly to Docker's APIJames Zhang
11/21/2022, 4:35 PMKubernetesJob
😄Ryan Peden
11/21/2022, 4:40 PMJames Zhang
11/21/2022, 10:16 PMcustomization
, are there any guides?
• then i used prefect kubernetes manifest flow-run-job
and copy pasted the manifest with my own inline changes
• then i wanted to delete the wrongly configured customization
(i know it’s wrong because the Agent won’t start it and gives me JsonPatch error), so i emptied the textbox in the UI, click save, the customization is still there, so i can’t delete it
• then i want to delete the whole block and create a new one, i realize that after deleting the block, my deployments which depends on the block is also gone… is this a bug? does it make sense?