Skip to content

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
@ghost ghost 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
@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