Python 指定dask的仪表板端口

Python 指定dask的仪表板端口,python,dask,dask-distributed,Python,Dask,Dask Distributed,在使用创建dask群集时,是否有方法手动指定仪表板的端口?当取8787时,它随机选择不同的端口,这意味着每次都需要设置不同的隧道 from dask_jobqueue import PBSCluster cluster = PBSCluster() # ideally here dashboard_port= cluster.scale(10) from dask.distributed import Client client = Client(cluster) # Co

在使用创建dask群集时,是否有方法手动指定仪表板的端口?当取8787时,它随机选择不同的端口,这意味着每次都需要设置不同的隧道

from dask_jobqueue import PBSCluster
cluster = PBSCluster() # ideally here dashboard_port=
cluster.scale(10)         

from dask.distributed import Client
client = Client(cluster)  # Connect this local process to remote workers
根据,额外的
kwargs
被传递到,因此您应该能够传递
仪表板地址,例如

cluster = PBSCluster(dashboard_address=':1234')
你试过了吗