Wilson Bilkovich
08/31/2021, 1:19 PM/bin/sh
as an entrypoint. Is there any way to override that?Wilson Bilkovich
08/31/2021, 1:19 PM% kubectl logs -f prefect-job-4ecc8682-d679n
usage: addemart [-h] [-V] [-v] [-q] {register-flow,run-flow,run-stage} ...
addemart: error: argument command: invalid choice: 'prefect' (choose from 'register-flow', 'run-flow', 'run-stage')
Wilson Bilkovich
08/31/2021, 1:19 PMZach Angell
Wilson Bilkovich
08/31/2021, 2:24 PMWilson Bilkovich
08/31/2021, 2:24 PMWilson Bilkovich
08/31/2021, 2:25 PMZach Angell
"prefect execute flow-run"
. Any chance you were using an agent to start this container?Wilson Bilkovich
08/31/2021, 2:28 PMWilson Bilkovich
08/31/2021, 2:29 PMWilson Bilkovich
08/31/2021, 2:29 PMZach Angell
Wilson Bilkovich
08/31/2021, 2:31 PM58 - name: IMAGE_PULL_SECRETS
59 value: '[]'
Zach Angell
Wilson Bilkovich
08/31/2021, 2:32 PMWilson Bilkovich
08/31/2021, 2:32 PMregcred
?Wilson Bilkovich
08/31/2021, 2:33 PMWilson Bilkovich
08/31/2021, 2:34 PM--entrypoint
to Docker as an optionZach Angell
IMAGE_PULL_SECRETS
should just be a string 'regcred'
Wilson Bilkovich
08/31/2021, 2:36 PMZach Angell
Wilson Bilkovich
08/31/2021, 10:03 PMprefect execute flow-run
take place on the worker pod? I feel like it runs on the scheduler container that the agent launches.. in other words, the thing that launches the actual worker pods?Wilson Bilkovich
08/31/2021, 10:03 PMWilson Bilkovich
08/31/2021, 10:04 PMZach Angell
prefect agent <type> start
• Agent queries Server/Cloud for flow runs
• If a flow run is found, the Agent creates a job template for the scheduler pod using information from the run config (this pod has an image that runs the prefect execute flow-run
command
• Worker pods may be spun up by the scheduler to execute tasks, I don't think they need to run prefect execute flow-run
Sorry for any confusing language in my responses, I'm not very familiar with Dask/Kubernetes