forked from intel/gprofiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgprofiler_task_definition.json
55 lines (55 loc) · 1.29 KB
/
gprofiler_task_definition.json
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
{
"requiresCompatibilities": [
"EC2"
],
"containerDefinitions": [
{
"name": "granulate-gprofiler",
"image": "index.docker.io/granulate/gprofiler:latest",
"memory": "1000",
"cpu": "500",
"essential": true,
"command": [
"-cu",
"--token",
"<TOKEN>",
"--service-name",
"<SERVICE NAME>"
],
"mountPoints": [
{
"containerPath": "/var/run/docker.sock",
"sourceVolume": "docker-socket"
}
],
"user": "0:0",
"privileged": true
}
],
"volumes": [
{
"host": {
"sourcePath": "/var/run/docker.sock"
},
"name": "docker-socket"
},
{
"host": {
"sourcePath": "/usr/src"
},
"name": "usr-src"
},
{
"host": {
"sourcePath": "/lib/modules"
},
"name": "lib-modules"
}
],
"cpu": "500",
"memory": "1000",
"networkMode": null,
"pidMode": "host",
"ipcMode": "host",
"family": "granulate-gprofiler"
}