This release introduces a new feature that is very useful in dev environments: Cluster Sharing. Cluster sharing allows reusing existing RayCluster resources created by previous Dagster steps. It's implemented for KubeRayCluster Dagster resource. This feature enables faster iteration speed and reduced infrastructure costs (at the expense of job isolation). Therefore KubeRayCluster is now recommended over KubeRayInteractiveJob for use in dev environments.
Learn more in Cluster Sharing docs.
Added
KubeRayCluster.cluster_sharingparameter that controls cluster sharing behavior.dagster_ray.kuberay.sensors.cleanup_expired_kuberay_clusterssensor that cleans up expired clusters (both shared and non-shared). Learn more in docs.dagster-rayentry now appears in the Dagster libraries list in the web UI.
Changed
- [:bomb: breaking] - removed
cleanup_kuberay_clusters_opand other associated definitions in favor ofdagster_ray.kuberay.sensors.cleanup_expired_kuberay_clusterssensor that is more flexible.
Full Changelog: v0.3.1...v0.4.0