private Logserver createLogserver(DeployState deployState, Admin admin, Collection<HostResource> hosts) {
        Logserver logserver = new Logserver(admin);
        logserver.setHostResource(hosts.iterator().next());
        admin.setLogserver(logserver);
        logserver.initService(deployState);
        return logserver;
    }
Returns the count first containers in the current model having isRetired set to the given value
config-model/src/main/java/com/yahoo/vespa/model/builder/xml/dom/DomAdminV4Builder.java