You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Forbid mixing cloud and SSH fleet configuration properties #2223
It is not always clear which fleet configuration properties are relevant for cloud fleets and which are relevant for SSH fleets.
This leads users to compose configurations with both cloud and SSH properties.
In that case dstack provisions an SSH fleet and ignores the cloud properties silently, which is highly likely to cause misunderstandings. Example:
it completely ignored declared resource request with CPU 7, 10GB RAM and 15GB Volume
Solution
Validate fleet configurations and show errors if cloud and SSH properties are mixed.
Implementation note
This can be implemented by adding validators on top of the existing configuration structure or by rethinking the configuration structure, e.g. moving cloud and SSH properties to different mappings or even introducing different configuration (sub)types for cloud and SSH fleets.
Activity
github-actions commentedon Apr 13, 2025
This issue is stale because it has been open for 30 days with no activity.
github-actions commentedon Jun 9, 2025
This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.
Add server-side validation for fleet configuration subtypes (dstackai…