private PrepareHelper prepare(ClusterSpec cluster, int nodeCount, int groups, boolean required, NodeResources resources) {
            if (this.activated) throw new IllegalArgumentException("Deployment was already activated");
            preparedNodes.addAll(tester.prepare(application, cluster, nodeCount, groups, required, resources));
            return this;
        }
Node resources can be increased in-place if
 1. No change to topology
 2. No reduction to cluster size
 3. There is enough spare capacity on host

Node resources can be decreased in-place if
 1. No change to topology
 2. No reduction to cluster size
 3. For content/combined nodes: No increase to cluster size

Node resources are increased if at least one of the components (vcpu, memory, disk, bandwidth) is increased.

@author freva
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/provisioning/InPlaceResizeProvisionTest.java