Guoying Qi

06/25/2022, 3:58 PM
A issue being submitted to github: Helm installed Prefect 2.0 with postgresql as backend, and ingress enabled with host address
prefect config set PREFECT_API_URL="<>"
the flow run states being stored in the database successfully, you can query them in the database table. But nothing shown in the UI, because all the API calls from the UI page still go to local server:

Kevin Kho

06/25/2022, 5:28 PM
Ah ok. You need to point the UI with
prefect config set PREFECT_ORION_UI_API_URL="http://<external-ip>:4200/api"

Guoying Qi

06/25/2022, 5:54 PM
Where to set this variable? on the server inside Kubernetes? It should not set it from the client side.
Find a way to do it by set this env variable inside kubernetes.
But still not perfect, we could have many ways to access the service: ingress, nodePort, port forwarding.