private void addSearchHandler(DeployState deployState, ApplicationContainerCluster cluster, Element searchElement, ConfigModelContext context) {
        var bindingPatterns = SearchHandler.defaultBindings();
        if (isHostedTenantApplication(context)) {
            bindingPatterns = SearchHandler.bindingPattern(getDataplanePorts(deployState));
        }
        SearchHandler searchHandler = new SearchHandler(deployState, cluster,
                                                        serverBindings(deployState, context, searchElement, bindingPatterns),
                                                        searchElement);
        cluster.addComponent(searchHandler);

        // Add as child to SearchHandler to get the correct chains config.
        searchHandler.addComponent(Component.fromClassAndBundle(SearchHandler.EXECUTION_FACTORY, PlatformBundles.SEARCH_AND_DOCPROC_BUNDLE));
    }
Allocate a container cluster without a nodes tag
config-model/src/main/java/com/yahoo/vespa/model/container/xml/ContainerModelBuilder.java