https://prefect.io logo
s

Scott White

07/21/2023, 6:16 PM
Hello, having trouble deploying a flow and need a means to get more logs to debug (screenshots in thread)
This is all the diagnostics I get from the failed flow
image.png
When I deploy it looks like it went fine without issues
I have other flows that are deployed in the same manner that run fine.
j

Jake Kaplan

07/21/2023, 6:22 PM
do you have the logs from the pod where the flow run crashed?
s

Scott White

07/21/2023, 6:23 PM
I just thought of that and asked our admin to look (I don't have access)
This is all kubernetes, so he should check the logs from the cluster?
j

Jake Kaplan

07/21/2023, 6:24 PM
Yes, specifically from the deployment/pods where that flow run was to be executed
s

Scott White

07/21/2023, 6:26 PM
To clarify terminology: If this is my deployment command
Copy code
prefect deployment build $PROJECT_FOLDER/prefect/flows/init.py:flow -n v1 -ib kubernetes-job/gke-ds -p ds-agent-pool --override image=${GAR_IMAGE} --path /usr/src/app --apply --tag kubernetes --tag $PROJECT_FOLDER
Then the relevant deployment pod would be the infrastructure block we labeled
kuberneters-job/gke-ds
?
j

Jake Kaplan

07/21/2023, 6:27 PM
Yes correct, sorry when I saw deployment i mean inside k8s (not a prefect deployment)