Maintenance mode live migrates all VMs and CTs to other nodes, and migrates them back when maintenance is over. To enable it on a PVE node called computeX run the following command with root privileges:
ha-manager crm-command node-maintenance enable computeX