Maybe an idea

Fathi

Renowned Member
May 13, 2016
133
4
83
52
Tunis, Tunisia
Hi,
We are often led to create virtual machines or test containers for the needs of different project managers, poc, demonstrations, events, ... that we forget to destroy and which sometimes end up becoming production environments without having passed the necessary tests.
My proposal is to have the possibility, during the creation of a virtual machine or container, to define a date from which proxmox can dispose of this instance as it sees fit: stop it in case of need for memory or load important on the hypervisor, destroy it if disk space is needed, ...
Best regards.
Fathi.
 
Destroying a vm that might have become a production environments doesnt sound that well, even though it was not on purpose. I personally would put those vms/ct in a ressource group and check that ressource group from time to time.
 
  • Like
Reactions: Fathi
Adding to what @jsterr said, trying to solve an organization communication problem with an obscure hypervisor option that is allowed to take a destructive action is never a good idea.
How about using the VM tags? Write a simple script that queries expire=xxxx tag and sends an email to administrators for a decision.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: Fathi

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!