https://prefect.io logo
#prefect-community
Title
# prefect-community
g

Guoying Qi

06/25/2022, 3:58 PM
A issue being submitted to github: https://github.com/PrefectHQ/prefect-helm/issues/6 Helm installed Prefect 2.0 with postgresql as backend, and ingress enabled with host address prefect.example.com
prefect config set PREFECT_API_URL="<http://prefect.example.com/api>"
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: http://127.0.0.1:4200/api/
k

Kevin Kho

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

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.
12 Views