Artur Karbone
Artur Karbone

Reputation: 1658

Resources management mechanism (CPU/Memory) in .NET Aspire

Is it possible to limit resources for components in .NET Aspire?

I'm referencing resource management ideas from K8s here. Just wondering if .NET Aspire allows CPU, Memory limitation or there are plans to do that. This is just a random example from K8s docs of something I'm looking for in .NET Aspire:

image: images.my-company.example/app:v4
resources:
  requests:
    memory: "64Mi"
    cpu: "250m"
  limits:
    memory: "128Mi"
    cpu: "500m"

Upvotes: 3

Views: 317

Answers (1)

davidfowl
davidfowl

Reputation: 38834

No it's not possible to express using the aspire APIs at the moment. Do you want this for development?

Upvotes: 2

Related Questions