Shreyansh Pandey
05/21/2020, 8:33 PMDylan
05/21/2020, 8:44 PM--api
parameter with the URI of your Prefect Server instance and your agents will poll for work from that server.-h
description in the CLI, I’m opening an issue which I will link hereShreyansh Pandey
05/21/2020, 8:46 PMDylan
05/21/2020, 8:46 PMShreyansh Pandey
05/21/2020, 8:46 PMDylan
05/21/2020, 8:50 PMprefect agent start
doesn’t respect the --api
flag, only the install
command does.
For prefect agent start
you’ll need to have a ~/.prefect/config.toml
file on the machine the agent is running on. Make sure to run prefect backend server
on that machine to set the proper config for you and then add the following:
[server]
endpoint = "https://{your prefect server backend address}
So server.endpoint will work if they ran prefect backend server prior