[solved] Negative overcommit?


#1

I am enlisting a machine with spare resources into MaaS pods, but it is doing some other things that require some resources. I’d like to reserve some cpu and memory resources for that, but I don’t see a way to do it. I can overcommit my resources, but I can’t undercommit them. Is this something that I can do now or is it in the roadmap?


#2

Under committing resources is already supported. However, it seems there’s a regression in the UI where it is not allowing you to do so. However, https://docs.maas.io/2.5/en/nodes-comp-hw describes what’s possible.

In the meantime, you can do it over the CLI/API:

maas <user> pod update <id> cpu_over_commit_ratio=0.5 # This will allow you to use 50% of cores


#3

I added this bug to track it. It would be nice if it could sneak into a release soon, but it is certainly a lower priority.