Skip to content

[Feature]: Cross-project SSH fleet sharing #3626

@jvstme

Description

@jvstme

Problem

It is not possible to share SSH instances across multiple dstack projects.

Solution

https://docs.google.com/document/d/1kU4eQDXZz9ovQ-1V6etrV6wSuIhm-wC9cwqz6hUgeCQ

Implementation plan

  • Submitting jobs to imported fleets
  • Viewing imported fleets in API, CLI, UI
  • Filtering events by imported fleets and instances
  • Exports API & CLI
  • Imports API & CLI
    • List imports
    • Delete imports
  • Exports & Imports UI
  • Evicting jobs if fleet is no longer imported
  • Referencing imported fleets in CLI and run configurations using <project>/<fleet> syntax
    • fleets and dstack apply --fleet
    • dstack fleet get
    • dstack event --within-fleet / --target-fleet
  • Removing fleets from exports on deletion
  • (?) Removing exports / imports on project deletion
  • (?) Resource export / import events
  • Docs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions