@Override
        public HostSpec allocateHost(String alias) {
            throw new UnsupportedOperationException("Allocating hosts using <node> tags is not supported in hosted environments, " +
                                                    "use <nodes count='N'> instead, see https://docs.vespa.ai/en/reference/services.html#nodes");
        }
To verify that we don't call allocateHost(alias) in hosted environments
config-model/src/test/java/com/yahoo/vespa/model/test/VespaModelTester.java