private void createContainerOnLogserverHost(DeployState deployState, Admin admin, HostResource hostResource) {
        LogserverContainerCluster logServerCluster = new LogserverContainerCluster(admin, "logs", deployState);
        ContainerModel logserverClusterModel = new ContainerModel(context.withParent(admin).withId(logServerCluster.getSubId()));
        logserverClusterModel.setCluster(logServerCluster);

        LogserverContainer container = new LogserverContainer(logServerCluster, deployState);
        if (deployState.getProperties().applicationId().instance().isTester())
            container.useDynamicPorts(); // TODO: read current version in ApplicationRepository, and always use this.
        container.setHostResource(hostResource);
        container.initService(deployState);
        logServerCluster.addContainer(container);
        admin.addAndInitializeService(deployState, hostResource, container);
        admin.setLogserverContainerCluster(logServerCluster);
        if (deployState.featureFlags().logserverOtelCol())
            addOtelcol(admin, deployState, hostResource);
        context.getConfigModelRepoAdder().add(logserverClusterModel);
    }
Builds the admin model from a version 4 XML tag, or as a default when an admin 3 tag or no admin tag is used.

@author bratseth
config-model/src/main/java/com/yahoo/vespa/model/builder/xml/dom/DomAdminV4Builder.java