John LaRocque
12/05/2023, 11:07 PMexec "$@"
as here: https://github.com/PrefectHQ/prefect/blob/main/scripts/entrypoint.sh ? Apologies if the solution is obvious/in the docs somewhere.John LaRocque
12/05/2023, 11:15 PM$ kubectl get pods
NAME READY STATUS RESTARTS AGE
imaginary-dragonfly-sdk6v-tbhzh 1/1 Running 0 8s
prefect-worker-7b8b975b9-jckmd 1/1 Running 0 3h47m
...
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
imaginary-dragonfly-sdk6v-tbhzh 0/1 Completed 0 30s
prefect-worker-7b8b975b9-jckmd 1/1 Running 0 3h47m
...
$ kubectl logs imaginary-dragonfly-sdk6v-tbhzh
22:45:51.176 | INFO | prefect.engine - Created flow run 'tough-collie' for flow 'tie-gpu-test-flow'
22:45:51.178 | INFO | Flow run 'tough-collie' - View at <http://quilt-nlb-d229189b4f6f3da2.elb.us-east-1.amazonaws.com:31997/flow-runs/flow-run/a6e4ca48-c845-481f-a185-699e36017cef>
<more normal logs for 'tough-collie'>
22:45:55.842 | INFO | Flow run 'tough-collie' - Finished in state Completed()
goodbye
From Prefect, "imaginary-dragonfly", stuck in "Pending":
Worker 'KubernetesWorker 6a1281c1-3213-4539-9423-3d63aa754b15' submitting flow run '77324192-00ec-4db0-92e8-ff0a244dba9e'
04:17:38 PM
prefect.flow_runs.worker
Creating Kubernetes job...
04:17:38 PM
prefect.flow_runs.worker
Completed submission of flow run '77324192-00ec-4db0-92e8-ff0a244dba9e'
04:17:38 PM
prefect.flow_runs.worker
Job 'boisterous-malkoha-rxlqd': Pod has status 'Pending'.
04:17:38 PM
prefect.flow_runs.worker
Job 'boisterous-malkoha-rxlqd': Pod has status 'Running'.
04:22:14 PM
prefect.flow_runs.worker
From Prefect, "tough-collie", Completes normally but no meta-logs:
normal logs from get_run_logger().info() here
04:45:55 PM
prefect.flow_runs
Finished in state Completed()
04:45:55 PM
prefect.flow_runs
John LaRocque
12/06/2023, 12:18 AMENTRYPOINT
at all.