summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/schema-test-files/services-hosted.xml
blob: bfd3871d71e09ba377fbc1fbd4c97f00863a67de (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
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright Yahoo. 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"/>
    </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">
      <resources vcpu="3.0" memory="32000.0Mb" disk="300 Gb"/>
    </nodes>
  </content>

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

</services>