<@ULVA73B9P> can I run prefect dashboard locally b...
# ask-marvin
d
@Marvin can I run prefect dashboard locally but have it password protected somehow?
m
Running the Prefect dashboard locally is possible. You can use the
prefect dev kubernetes-manifest
command to generate a manifest to deploy a development API to a local Kubernetes cluster. 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
forwards port 4200 on the default internal loop IP for localhost to the Prefect server deployment. As for password protection, Prefect's security practices include granting least privilege access to all systems and enforcing the use of multi-factor authentication. However, it's not explicitly mentioned if you can password protect the local dashboard. For more detailed information, you may want to check out Prefect's security practices and their documentation.