Configuring scale-out and scale-in policies