panel
panel copied to clipboard
Implement resources checking before creating a server.
Is there an existing feature request for this?
- [X] I have searched the existing issues before opening this feature request.
Describe the feature you would like to see.
Currently the only resource validation (memory and disk) is done only via the API using the deploy
object instead of the default allocation
.
Where in summary, the deploy
object validates all resources before attempting to create the server.
Using the API (with allocation
objetc) or the panel itself, and you want to create a server with 1TB
of resources (memory and disk), the server goes to install normally.
Describe the solution you'd like.
I would like this to be done also for the normal use of allocation
and for the panel itself.
Where for some reason if the administrator tries to create a server that exceeds the resources of the chosen node, an error would appear saying that the resources are not sufficient for that server.
Additional context to this request.
This was discussed on discord recently, some people said that just because the user is an admin
, and can do whatever they want on the panel, including causing slow errors. (In a hypothetical case where an admin would allocate 1TB of RAM/Disk).
Obviously, a server will never use this amount of resources, but I think it is interesting to keep it as consistent as possible.
Personally, I think it should show a modal that asks you to confirm the decision. Or, be a configurable option somehow as I still would like the possibility