Closed omus closed 3 years ago
Currently the K8sClusterManager uses this interface to spawn workers:
K8sClusterManager
pids = K8sClusterManagers.addprocs_pod(2; namespace="my-namespace")
An interface which would be more inline with Distributed.jl would be:
pids = addprocs(K8sClusterManager(2; namespace="my-namespace"))
https://docs.julialang.org/en/v1/stdlib/Distributed/#Cluster-Manager-Interface
The current interface is modeled after what's been done in https://github.com/JuliaParallel/ClusterManagers.jl, which includes the addprocs(K8sClusterManager(...)) form, though I haven't been using it that way.
addprocs(K8sClusterManager(...))
Currently the
K8sClusterManager
uses this interface to spawn workers:An interface which would be more inline with Distributed.jl would be: