Blue Radar
04/21/2023, 2:33 PMprefect agent start -p <WORK_POOL> --api <WORK_SPACE_API>
But when i try to do the same in the Kubernetes deployment it is not working.Ryan Peden
04/21/2023, 2:48 PMPREFECT_API_URL
and PREFECT_API_KEY
in the agent's container?Blue Radar
04/21/2023, 2:49 PMPREFECT_API_URL
and PREFECT_API_KEY
in the agentโs containerRyan Peden
04/21/2023, 2:57 PMPREFECT_API_URL
is not set. I just removed my PREFECT_API_URL
and tried to start an agent and got this:
prefect.exceptions.PrefectHTTPStatusError: Client error '404 Not Found' for url '<http://ephemeral-prefect/api/work_pools/test_work_pool/get_scheduled_flow_runs>'
Response: {'detail': 'Work pool "test_work_pool" not found.'}
For more information check: <https://httpstatuses.com/404>
An exception occurred.
Blue Radar
04/21/2023, 3:09 PMRyan Peden
04/21/2023, 3:19 PM/api/accounts
, not /api/account
Blue Radar
04/21/2023, 3:32 PMRyan Peden
04/21/2023, 7:16 PM