Add node/cluster RAM validation to VM functionality #139
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While it has not come up in production yet, it would be very beneficial to ensure that a VM does not exceed the node or cluster total max memory during provisioning or modification (e.g.
vm memory set
orvm modify
).We already have a status check for memory on the cluster (that triggers a cluster-wide warning), and a validation during provisioning that checks for available disk space, so a similar methodology would be ideal but for memory instead. It can run when the API gets a new VM configuration and can fail out (with optional override flag) if the configuration is invalid.
closed via commit
6e0d0e264e
mentioned in commit
6e0d0e264e