Skip to content

Cluster designer ipywidget #62

@jacobtomlinson

Description

@jacobtomlinson

Dask Gateway has a cluster options widget that lets users interactively configure their cluster via a GUI. It seems to be popular.

I wonder if we could implement something more generic here that could be used by all cluster managers where we use the entrypoints to discover all packages with cluster managers, and then use the kwargs and docstrings of those cluster managers to generate an ipywidgets form where you can design your cluster interactively. It could also have a button to save the YAML output for version control reasons.

from dask_ctl import create_cluster, cluster_designer

spec = cluster_designer()
spec

image

cluster = create_cluster(spec)
# or if the user clicked the "Export YAML" button
cluster = create_cluster("/path/to/exported/spec.yaml")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions