-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathcadvisor-node-exporter-definition.json
More file actions
107 lines (107 loc) · 3.24 KB
/
cadvisor-node-exporter-definition.json
File metadata and controls
107 lines (107 loc) · 3.24 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
107
{
"family": "cadvisor-node-exporter-definition",
"taskRoleArn": "arn:aws:iam::342241566140:role/AmazonECSTaskRole",
"containerDefinitions": [
{
"name": "node-exporter",
"image": "prom/node-exporter",
"cpu": 512,
"memory": 256,
"memoryReservation": 128,
"portMappings": [
{
"containerPort": 9100,
"hostPort": 9100,
"protocol": "tcp"
}
],
"essential": true
},
{
"name": "cadvisor-exporter",
"image": "google/cadvisor",
"cpu": 512,
"memory": 256,
"memoryReservation": 128,
"portMappings": [
{
"containerPort": 8080,
"hostPort": 9200,
"protocol": "tcp"
}
],
"essential": true,
"mountPoints": [
{
"sourceVolume": "root",
"containerPath": "/rootfs",
"readOnly": true
},
{
"sourceVolume": "cgroup",
"containerPath": "/cgroup",
"readOnly": true
},
{
"sourceVolume": "var_run",
"containerPath": "/var/run",
"readOnly": true
},
{
"sourceVolume": "var_lib_docker",
"containerPath": "/var/lib/docker",
"readOnly": true
},
{
"sourceVolume": "dev_disk",
"containerPath": "/dev/disk",
"readOnly": true
},
{
"sourceVolume": "cgroup",
"containerPath": "/sys/fs/cgroup",
"readOnly": true
}
],
"privileged": true,
"readonlyRootFilesystem": false
}
],
"volumes": [
{
"name": "root",
"host": {
"sourcePath": "/"
}
},
{
"name": "cgroup",
"host": {
"sourcePath": "/cgroup"
}
},
{
"name": "var_run",
"host": {
"sourcePath": "/var/run"
}
},
{
"name": "var_lib_docker",
"host": {
"sourcePath": "/var/lib/docker"
}
},
{
"name": "dev_disk",
"host": {
"sourcePath": "/dev/disk"
}
}
],
"requiresCompatibilities": [
"EC2"
],
"cpu": "1024",
"memory": "512"
}