-
Notifications
You must be signed in to change notification settings - Fork 4
/
conf.yaml
41 lines (40 loc) · 1.83 KB
/
conf.yaml
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
node_groups:
- name: group_a
nodes_count: 3 # amount of nodes to be found
free_cpu: 2 # number of logical cores
free_mru: 16 # amount of memory in GB
free_ssd: 150 # amount of ssd storage in GB
free_hdd: 50 # amount of hdd storage in GB
dedicated: false # are nodes dedicated
public_ip4: false # should the nodes have free ip v4
public_ip6: false # should the nodes have free ip v6
certified: false # should the nodes be certified(if false the nodes could be certified or DIY)
region: "europe" # region could be the name of the continents the nodes are located in (africa, americas, antarctic, antarctic ocean, asia, europe, oceania, polar)
vms:
- name: examplevm
vms_count: 5 # amount of vms with the same configurations
node_group: group_a # the name of the predefined group of nodes
cpu: 1 # number of logical cores, min 1, max 32
mem: 2 # amount of memory in GB, min 0.25 GB, max 256 GB
ssd: # list of ssd storage needed to be mounted to the vm
- size: 15 # size in GB, min 15 GB
mount_point: /mnt/ssd
volume: # list of volume storage needed to be mounted to the vm
- size: 15 # size in GB, min 15 GB
mount_point: /mnt/vol
public_ip4: false
public_ip6: false
mycelium_ip: true
flist: https://hub.grid.tf/tf-official-apps/base:latest.flist
entry_point: /sbin/zinit init
root_size: 0 # root size in GB, 0 for default root size, max 10TB
ssh_key: example1 # the name of the predefined ssh key
env_vars: # env vars are passed to the newly created vms
user: user1
pwd: 1234
wireguard: false
ssh_keys: # map of ssh keys with key=name and value=the actual ssh key
example1: ssh_key1
mnemonic: example-mnemonic # mnemonic of the user
network: dev # eg: main, test, qa, dev
max_retries: 5 # max retries for each node group (default 5)