https://prefect.io logo
Title
e

Edmondo Porcu

12/28/2022, 1:22 AM
Hello, do all the API endpoints of Orion have a prefix?
z

Zanie

12/28/2022, 4:39 PM
There’s documentation for all of endpoints at https://docs.prefect.io/api-ref/rest-api/
You can also see them at http://127.0.0.1:4200/docs if you run
prefect orion start
e

Edmondo Porcu

12/28/2022, 4:40 PM
Thank you, we are trying to wrap Prefect Helm Chart to use with Istio. I have some doubts however that even the current helm chart works because the aPI endpoint is still 127.0.0.1 which is clearly not reachable from the web ui
e

Edmondo Porcu

12/28/2022, 6:26 PM
Thanks, I still don’t understand, let’s say you serve prefect on prefect.mydomain.com, the UI will still invoke the rest api on 127.0.0.1?
We don’t know what domain you’re going to host it on. If you want to open a ticket for a Helm-level setting for this I’m sure the maintainers will be interested!
e

Edmondo Porcu

12/29/2022, 11:54 PM
Thanks @Zanie
I set the PREFECT_API_URL, what’s the difference?
z

Zanie

12/30/2022, 12:55 AM
PREFECT_ORION_UI_API_URL
gets its default value from
PREFECT_API_URL
but you can have them be different if you need to.
e

Edmondo Porcu

12/30/2022, 2:02 PM
Is the difference documented somewhere ?
z

Zanie

12/30/2022, 3:02 PM
Yeah in the docs I sent
e

Edmondo Porcu

12/30/2022, 4:36 PM
thank you so much!