static NodeSpec from(int nodeCount, int groupCount, NodeResources resources, boolean exclusive, boolean canFail,
                         CloudAccount cloudAccount, Duration hostTTL) {
        return new CountNodeSpec(nodeCount, groupCount, resources, exclusive, canFail, canFail, cloudAccount, hostTTL);
    }
Returns true if a node with given current resources and current spare host resources can be resized
in-place to resources in this spec.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/NodeSpec.java