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

[release/8.0] Add support for specifying custom container run arguments #3566

Merged

Conversation

danegsta
Copy link
Member

@danegsta danegsta commented Apr 10, 2024

Backport of #3160 to release/8.0

Customer Impact
Without this change, there's no way for Aspire users to enable container features such as GPU support for AI models in containers. This effectively blocks Aspire from being used with AI model containers until merged.

Testing
New unit tests + local validation with both Docker and Podman runtimes.

Risk
Low. Adds a new annotation type, but also has new unit test coverage and local testing.

Regression?
No.

Microsoft Reviewers: Open in CodeFlow

* Add support for new run arguments option

* Add manifest entry for runArgs

* Container, not resource

* Don't write manifest entry

* Move extension methods to ContainerResourceBuilderExtensions and restrict to ContainerResource
@danegsta danegsta requested a review from davidfowl April 10, 2024 17:11
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Apr 10, 2024
@dotnet-policy-service dotnet-policy-service bot added the Servicing-consider Issue for next servicing release review label Apr 10, 2024
@danmoseley danmoseley added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Apr 10, 2024
@danmoseley danmoseley merged commit 8f49df3 into dotnet:release/8.0 Apr 10, 2024
8 checks passed
@danmoseley danmoseley mentioned this pull request Apr 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants