Ruslan Aliev
10/12/2021, 1:25 PMJake Kaplan
10/12/2021, 2:10 PMJake Kaplan
10/12/2021, 2:12 PM--expose
https://prefect-community.slack.com/archives/CL09KU1K7/p1633706073066300?thread_ts=1633705819.066200&cid=CL09KU1K7Kevin Kho
--expose
flag like Jake suggested. Then you configure VM2 and VM3 to point to the IP of VM1Kevin Kho
Ruslan Aliev
10/13/2021, 2:08 PM[server]
endpoint = "VM1_IP:4200/graphql"
[server.ui]
apollo_url = "<http://VM1_IP:4200/graphql>"
and ran prefect server start --expose
But when I try to run agent on VM2 or VM3
prefect agent local start --api VM1_IP
and got exception
prefect.exceptions.AuthorizationError: No agent API token provided.
and RuntimeError: Error while contacting API at <http://VM1_IP:4200>
Kevin Kho
prefect backend server
to swtich to the server backendRuslan Aliev
10/14/2021, 9:40 AMKevin Kho