-
Notifications
You must be signed in to change notification settings - Fork 3
/
elastestservice.json
105 lines (104 loc) · 4.97 KB
/
elastestservice.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
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
{
"register": {
"name": "ESS",
"short_name": "ESS",
"id": "af7947d9-258b-4dd1-b1ca-17450db25ef7",
"description": "The Elastest Security Service",
"bindable": false,
"plans": [
{
"id": "cfd3ebd1-5afa-420d-8313-43d681168cf7",
"name": "basic",
"description": "Plan for ESS",
"metadata": {
"costs": {
"name": "On Demand 5 + Charges",
"type": "ONDEMAND",
"fix_cost": {
"deployment": 5
},
"var_rate": {
"disk": 1,
"memory": 10,
"cpus": 50
},
"components": {
},
"description": "On Demand 5 per deployment, 50 per core, 10 per GB ram and 1 per GB disk"
}
}
}
]
},
"manifests": [
{
"id": "862c9c92-c875-40a6-ad7a-afe3f526bc5d",
"manifest_content": "version: '2.1'\nservices:\n ess:\n image: elastest/ess:latest\n networks:\n - elastest_elastest\n volumes:\n - /var/run/docker.sock:/var/run/docker.sock\n - ${ET_DATA_IN_HOST}:${ET_SHARED_FOLDER}\n labels:\n - io.elastest.type=tss\n - io.elastest.tjob.tss.id=ess\n - io.elastest.tjob.tss.type=main\nnetworks:\n elastest_elastest:\n external: true",
"manifest_type": "docker-compose",
"plan_id": "cfd3ebd1-5afa-420d-8313-43d681168cf7",
"service_id": "af7947d9-258b-4dd1-b1ca-17450db25ef7",
"endpoints": {
"ess": {
"description": "The ESS API",
"main": true,
"api": [
{
"protocol": "http",
"port": 80,
"path": "/ess/api/r4"
},
{
"name": "httpproxy",
"protocol": "http",
"port": 8080,
"path": ""
}
],
"gui": {
"protocol": "http",
"path": "/gui/",
"port": 80
}
}
}
},
{
"id": "862c9c92-c875-40a6-ad7a-afe3f526bc5d",
"manifest_content": "apiVersion: v1\nkind: Service\nmetadata:\n creationTimestamp: null\n labels:\n io.elastest.service: ess\n elastest-component: ess\n name: ess\nspec:\n ports:\n - name: \"ess-80\"\n port: 80\n targetPort: 80\n - name: \"ess-8080\"\n port: 8080\n targetPort: 8080\n selector:\n io.elastest.tjob.tss.id: ess\n type: NodePort\nstatus:\n loadBalancer: {}\n---\napiVersion: extensions/v1beta1\nkind: Deployment\nmetadata:\n annotations:\n io.elastest.type: tss\n creationTimestamp: null\n labels:\n io.elastest.deployment: ess\n elastest-tss: ess\n name: ess\nspec:\n replicas: 1\n strategy: {}\n template:\n metadata:\n creationTimestamp: null\n labels:\n io.elastest.type: tss\n io.elastest.tjob.tss.id: ess\n io.elastest.tjob.tss.subservice.id: ess\n io.elastest.tjob.tss.type: main\n elastest-component.type: tss\n elastest-component: ess\n spec:\n containers:\n - image: elastest/ess:latest\n name: ess\n resources: {}\n imagePullPolicy: Always\n restartPolicy: Always\nstatus: {}\n",
"manifest_type": "kubernetes",
"plan_id": "cfd3ebd1-5afa-420d-8313-43d681168cf7",
"service_id": "af7947d9-258b-4dd1-b1ca-17450db25ef7",
"config": {
"webRtcStats": {
"type": "boolean",
"label": "Gather WebRTC Statistics",
"default": false
}
},
"endpoints": {
"ess": {
"description": "The ESS API",
"main": true,
"api": [
{
"protocol": "http",
"port": 80,
"path": "/ess/api/r4"
},
{
"name": "httpproxy",
"protocol": "http",
"port": 8080,
"path": ""
}
],
"gui": {
"protocol": "http",
"path": "/gui/",
"port": 80
}
}
}
}
]
}