Reputation: 1658
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
Reputation: 38834
No it's not possible to express using the aspire APIs at the moment. Do you want this for development?
Upvotes: 2