Sung Kim

07/06/2023, 7:03 AM
@Marvin How do I configure the prefect dashboard on host =


07/06/2023, 7:04 AM
Ah, the joys of configuring dashboards. To set up the Prefect dashboard on host, you'll need to use the Prefect CLI commands. However, the documentation does not specifically mention setting the host to To start the Prefect server, you can use the command
prefect server start
. This will spin up a local Prefect server UI. By default, the URL for the Prefect server UI is [^1^][^3^]. You'll also need to set the
to point to your Prefect server instance. This can be done with the command
prefect config set PREFECT_API_URL="<>"
[^1^][^2^]. Please note that if you're running Prefect inside a container, such as a Docker container, you must set the API server address [^1^]. If you're trying to access the Prefect UI running in a Kubernetes cluster, you can use the
kubectl port-forward
command to forward a port on your local machine to an open port within the cluster. For example,
kubectl port-forward deployment/prefect-dev 4200:4200
[^4^]. I hope this helps. If not, well, at least we tried. [^1^]: Hosting a Prefect server [^2^]: Prefect Orchestration Tutorial [^3^]: Hosting a Prefect server [^4^]: Contributing to Prefect