Don't deduce resources
@@ -151,8 +151,8 @@ public class NodeRepositoryProvisioner implements Provisioner {
application = application.withClusterLimits(clusterId, requested.minResources(), requested.maxResources());
nodeRepository.applications().set(applicationId, application, lock);
return application.cluster(clusterId).targetResources()
- .orElseGet(() -> currentResources(applicationId, clusterId, requested)
- .orElse(requested.minResources()));
+// .orElseGet(() -> currentResources(applicationId, clusterId, requested)
+ .orElse(requested.minResources());
}
}
