aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/schema-test-files/services-hosted.xml
blob: 14c10e8ef3ad01b88651616fc159526f5c302715 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<services version="1.0">

  <admin version="3.0">
    <nodes count="3" flavor="small"/>
  </admin>

  <container id="container1" version="1.0">
    <nodes count="[5,7]" required="true">
      <resources vcpu="1.2" memory="10Gb" disk="0.3 TB" architecture="arm64">
        <gpu count="1" memory="16Gb"/>
      </resources>
    </nodes>
  </container>

  <container id="container1" version="1.0">
    <nodes of="search" required="true"/>
  </container>
  
  <container id="container2" version="1.0">
    <nodes of="search"/>
  </container>

  <content id="search" version="1.0">
    <redundancy>2</redundancy>
    <nodes count="7" flavor="large" groups="12" no-vespamalloc="proton distributord">
      <resources memory="32000.0Mb" disk="300 Gb"/>
    </nodes>
  </content>

  <content id="ml" version="1.0">
    <min-redundancy>2</min-redundancy>
    <nodes count="[10,20]" flavor="large" groups="[1,3]" group-size="[1,2]" vespamalloc-debug-stacktrace="proton">
      <resources vcpu="[3.0, 4]" memory="[32000.0Mb, 33Gb]" disk="[300 Gb, 1Tb]"/>
    </nodes>
  </content>

</services>