class KubernetesNodeDataResolver implements NodeDataResolver {

    @Override
    public Map<String, Node> resolve() {
        List<V1Node> k8sNodes = nodeInformer.getIndexer().list().stream().filter(nodeFilter).collect(Collectors.toList());
        Map<String, Node> result = new HashMap<>();
        k8sNodes.forEach(k8Node -> toReconcilerNode(k8Node).ifPresent(node -> result.put(node.getId(), node)));
        return result;
    }

    public  KubernetesNodeDataResolver(RelocationConfiguration configuration,
                                      KubeApiFacade kubeApiFacade,
                                      Predicate<V1Node> nodeFilter);

}