Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable spinning up only a subset of an application's components #2820

Closed
kate-goldenring opened this issue Sep 11, 2024 · 2 comments · Fixed by #2826
Closed

Enable spinning up only a subset of an application's components #2820

kate-goldenring opened this issue Sep 11, 2024 · 2 comments · Fixed by #2826
Assignees

Comments

@kate-goldenring
Copy link
Contributor

kate-goldenring commented Sep 11, 2024

Summary

Say I have an app with 4 components but only want to run 2, I should be able to do the equivalent of spin up --component "foo" --component "bar"

Background

Spin unifies serverless application development. Developers can define distinct functions as components and group them all together into one fully-featured Spin application. Each of these components has unique requirements, such as access to a database or LLM. Not all of these requirements are always available to the developer or in production. For these reasons, developers should be able to run a subset of components of a Spin application.

Proposed DevX

# Run all components 
spin up
# Run the `hello-rust` and `hello-go` components
spin up --component "hello-rust" --component "hello-go"
@kate-goldenring
Copy link
Contributor Author

I am working on a SIP for this

@kate-goldenring
Copy link
Contributor Author

The scope of this is too small to deem a SIP necessary. I am adding more context on the design to this issue instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant