-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloom-inventory.example.json
More file actions
106 lines (106 loc) · 3.47 KB
/
Copy pathloom-inventory.example.json
File metadata and controls
106 lines (106 loc) · 3.47 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"inventory_version": 1,
"connection_defaults": {
"ssh_control_persist": "10m"
},
"controller": {
"connection_mode": "ssh-start",
"host": "203.0.113.10",
"private_host": "10.0.0.10",
"user": "ubuntu",
"key_path": "~/.ssh/tencent-cloud.pem"
},
"controller_public_url": "http://203.0.113.10:8765",
"controller_worker_url": "http://10.0.0.10:8765",
"controller_private_url": "http://10.0.0.10:8765",
"workers": [
{
"worker_id": "tc-2c2g",
"host": "203.0.113.11",
"private_host": "10.0.0.11",
"user": "ubuntu",
"key_path": "~/.ssh/tencent-cloud.pem",
"connection_mode": "long-poll",
"instance_type": "SA2.MEDIUM2",
"cpu": 2,
"memory_gb": 2,
"max_concurrency": 16,
"initial_concurrency": 1,
"concurrency_policy": "adaptive",
"source_cache_dir": "/var/lib/loom/source-cache",
"source_cache_max_mb": 4096,
"container_runtime": "docker",
"container_cache_dir": "/var/lib/loom/container-cache",
"container_cache_max_mb": 8192,
"resource_capacity": {"cpu_millis": 2000, "memory_mb": 1536, "disk_mb": 16000, "gpu_count": 0},
"capabilities": ["linux", "tencent", "small"]
},
{
"worker_id": "tc-2c4g",
"host": "203.0.113.12",
"private_host": "10.0.0.12",
"user": "ubuntu",
"key_path": "~/.ssh/tencent-cloud.pem",
"connection_mode": "ssh-start",
"instance_type": "SA3.MEDIUM4",
"cpu": 2,
"memory_gb": 4,
"max_concurrency": 32,
"initial_concurrency": 1,
"concurrency_policy": "adaptive",
"resource_capacity": {"cpu_millis": 2000, "memory_mb": 3584, "disk_mb": 16000, "gpu_count": 0},
"capabilities": ["linux", "tencent", "medium"]
},
{
"worker_id": "tc-2c8g",
"host": "203.0.113.13",
"private_host": "10.0.0.13",
"user": "ubuntu",
"key_path": "~/.ssh/tencent-cloud.pem",
"connection_mode": "long-poll",
"instance_type": "SA2.MEDIUM8",
"cpu": 2,
"memory_gb": 8,
"max_concurrency": 48,
"initial_concurrency": 1,
"concurrency_policy": "adaptive",
"resource_capacity": {"cpu_millis": 2000, "memory_mb": 7680, "disk_mb": 16000, "gpu_count": 0},
"capabilities": ["linux", "tencent", "memory"]
},
{
"worker_id": "tc-4c8g",
"host": "203.0.113.14",
"private_host": "10.0.0.14",
"user": "ubuntu",
"key_path": "~/.ssh/tencent-cloud.pem",
"connection_mode": "direct-worker-api",
"command_port": 9876,
"direct_api_dispatch_mode": "push",
"direct_api_token_env": "LOOM_RUNNER_TOKEN",
"instance_type": "S6.LARGE8",
"cpu": 4,
"memory_gb": 8,
"max_concurrency": 96,
"initial_concurrency": 1,
"concurrency_policy": "adaptive",
"resource_capacity": {"cpu_millis": 4000, "memory_mb": 7680, "disk_mb": 16000, "gpu_count": 0},
"capabilities": ["linux", "tencent", "large"]
},
{
"worker_id": "tc-8c16g",
"host": "203.0.113.15",
"private_host": "10.0.0.15",
"user": "ubuntu",
"key_path": "~/.ssh/tencent-cloud.pem",
"connection_mode": "long-poll",
"instance_type": "SA5.2XLARGE16",
"cpu": 8,
"memory_gb": 16,
"max_concurrency": 160,
"initial_concurrency": 1,
"concurrency_policy": "adaptive",
"resource_capacity": {"cpu_millis": 8000, "memory_mb": 15360, "disk_mb": 16000, "gpu_count": 0},
"capabilities": ["linux", "tencent", "xlarge"]
}
]
}