8000 [Feature]: Support reading apply configuration from stdin · Issue #2304 · dstackai/dstack · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Feature]: Support reading apply configuration from stdin #2304
Open
@r4victor

Description

@r4victor

Problem

Similar to kubectl apply -f -, dstack should be able to read apply configurations from stdin with dstack apply -f -. This will open up several possibilities such as custom templating and interpolation cases not covered by dstack.

For example:

type: volume
name: $ENV-my-vol

backend: aws
region: us-east-1
size: 10GB
envsubst '$ENV' < .dstack/volume.dstack.yml | dstack apply -f -

Solution

No response

Workaround

No response

Would you like to help us implement this feature by sending a PR?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0