aboutsummaryrefslogtreecommitdiffstats
path: root/config-provisioning/src/main/resources/configdefinitions/flavors.def
blob: 63b229584870e883054693fbf681c41a880d9475 (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
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# Configuration of the node repository
namespace=config.provisioning

# A node flavor which (may) be available in this zone.
# This is to allow configuration per flavor.
# If a certain flavor has no config it is not necessary to list it here to use it.
flavor[].name string

# Names of other flavors (whether mentioned in this config or not) which this flavor
# is a replacement for: If one of these flavor names are requested, this flavor may
# be assigned instead.
# Replacements are transitive: If flavor a replaces b replaces c, then a request for flavor
# c may be satisfied by assigning nodes of flavor a.
flavor[].replaces[].name string

# The monthly Total Cost of Ownership (TCO) in USD. Typically calculated as TCO divered by
# the expected lifetime of the node (usually three years).
flavor[].cost int default=0

# A stock flavor is any flavor which we expect to buy more of in the future.
# Stock flavors are assigned to applications by cost priority.
# 
# Non-stock flavors are used for nodes for which a fixed amount has already been purchased
# for some historical reason. These nodes are assigned to applications by exact match and ignoring cost.
flavor[].stock bool default=true

# The type of node: BARE_METAL, VIRTUAL_MACHINE or DOCKER_CONTAINER
flavor[].environment string default="undefined"

# The minimum number of CPU cores available.
flavor[].minCpuCores double default=0.0

# The minimum amount of main memory available.
flavor[].minMainMemoryAvailableGb double default=0.0

# The minimum amount of disk available.
flavor[].minDiskAvailableGb double default=0.0

# Whether the disk is fast (typically SSD) or slow (typically spinning HDD).
flavor[].fastDisk bool default=true

# Human readable free text for description of node.
flavor[].description string default=""

# The flavor is retired and should no longer be used.
flavor[].retired bool default=false

# The free capacity we would like to preserve for this flavor
# Note: Not used after Vespa 6.282
flavor[].idealHeadroom int default=0