Switch to maintenance mode and scale to zero workers during deploy