Skip to content

Commit 1800f78

Browse files
apollo_deployments: potc mock sharp nodes 10-12 (#9836)
1 parent 9b1e1f0 commit 1800f78

File tree

8 files changed

+854
-2
lines changed

8 files changed

+854
-2
lines changed

crates/apollo_deployments/resources/deployment_inputs/potc_mock.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@
1111
[
1212
2,
1313
"0x66"
14+
],
15+
[
16+
10,
17+
"0x1"
18+
],
19+
[
20+
11,
21+
"0x1"
22+
],
23+
[
24+
12,
25+
"0x1"
1426
]
1527
],
1628
"num_validators": 3,
Lines changed: 273 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,273 @@
1+
{
2+
"application_config_subdir": "crates/apollo_deployments/resources/",
3+
"services": [
4+
{
5+
"name": "Core",
6+
"controller": "StatefulSet",
7+
"config_paths": [
8+
"app_configs/batcher_config.json",
9+
"app_configs/class_manager_config.json",
10+
"app_configs/config_manager_config.json",
11+
"app_configs/consensus_manager_config.json",
12+
"app_configs/revert_config.json",
13+
"app_configs/versioned_constants_overrides_config.json",
14+
"app_configs/validate_resource_bounds_config.json",
15+
"app_configs/monitoring_endpoint_config.json",
16+
"app_configs/state_sync_config.json",
17+
"deployments/potc_mock/deployment_config_override.json",
18+
"deployments/potc_mock/hybrid_10.json",
19+
"services/hybrid/core.json"
20+
],
21+
"ingress": null,
22+
"k8s_service_config": null,
23+
"autoscale": false,
24+
"replicas": 1,
25+
"storage": 1000,
26+
"toleration": "batcher-8-64",
27+
"resources": {
28+
"requests": {
29+
"cpu": 2,
30+
"memory": 4
31+
},
32+
"limits": {
33+
"cpu": 7,
34+
"memory": 14
35+
}
36+
},
37+
"external_secret": {
38+
"gcsm_key": "apollo-potc-mock-10"
39+
},
40+
"anti_affinity": true,
41+
"update_strategy_type": "RollingUpdate",
42+
"ports": {
43+
"Batcher": 55000,
44+
"ClassManager": 55001,
45+
"SignatureManager": 55008,
46+
"StateSync": 55009,
47+
"ConsensusP2p": 53080,
48+
"MonitoringEndpoint": 8082
49+
}
50+
},
51+
{
52+
"name": "HttpServer",
53+
"controller": "Deployment",
54+
"config_paths": [
55+
"app_configs/config_manager_config.json",
56+
"app_configs/revert_config.json",
57+
"app_configs/versioned_constants_overrides_config.json",
58+
"app_configs/validate_resource_bounds_config.json",
59+
"app_configs/http_server_config.json",
60+
"app_configs/monitoring_endpoint_config.json",
61+
"deployments/potc_mock/deployment_config_override.json",
62+
"deployments/potc_mock/hybrid_10.json",
63+
"services/hybrid/http_server.json"
64+
],
65+
"ingress": {
66+
"domain": "starknet.io",
67+
"alternative_names": [
68+
"potc-testnet-mock-sepolia.starknet.io"
69+
],
70+
"internal": false,
71+
"rules": [
72+
{
73+
"path": "/gateway",
74+
"port": 8080,
75+
"backend": null
76+
}
77+
]
78+
},
79+
"k8s_service_config": null,
80+
"autoscale": false,
81+
"replicas": 1,
82+
"storage": null,
83+
"toleration": "apollo-general-service",
84+
"resources": {
85+
"requests": {
86+
"cpu": 1,
87+
"memory": 2
88+
},
89+
"limits": {
90+
"cpu": 4,
91+
"memory": 8
92+
}
93+
},
94+
"external_secret": {
95+
"gcsm_key": "apollo-potc-mock-10"
96+
},
97+
"anti_affinity": false,
98+
"update_strategy_type": "RollingUpdate",
99+
"ports": {
100+
"HttpServer": 8080,
101+
"MonitoringEndpoint": 8082
102+
}
103+
},
104+
{
105+
"name": "Gateway",
106+
"controller": "Deployment",
107+
"config_paths": [
108+
"app_configs/config_manager_config.json",
109+
"app_configs/revert_config.json",
110+
"app_configs/versioned_constants_overrides_config.json",
111+
"app_configs/validate_resource_bounds_config.json",
112+
"app_configs/gateway_config.json",
113+
"app_configs/monitoring_endpoint_config.json",
114+
"deployments/potc_mock/deployment_config_override.json",
115+
"deployments/potc_mock/hybrid_10.json",
116+
"services/hybrid/gateway.json"
117+
],
118+
"ingress": null,
119+
"k8s_service_config": null,
120+
"autoscale": true,
121+
"replicas": 2,
122+
"storage": null,
123+
"toleration": "apollo-general-service",
124+
"resources": {
125+
"requests": {
126+
"cpu": 1,
127+
"memory": 2
128+
},
129+
"limits": {
130+
"cpu": 2,
131+
"memory": 4
132+
}
133+
},
134+
"external_secret": {
135+
"gcsm_key": "apollo-potc-mock-10"
136+
},
137+
"anti_affinity": false,
138+
"update_strategy_type": "RollingUpdate",
139+
"ports": {
140+
"Gateway": 55002,
141+
"MonitoringEndpoint": 8082
142+
}
143+
},
144+
{
145+
"name": "L1",
146+
"controller": "Deployment",
147+
"config_paths": [
148+
"app_configs/base_layer_config.json",
149+
"app_configs/config_manager_config.json",
150+
"app_configs/revert_config.json",
151+
"app_configs/versioned_constants_overrides_config.json",
152+
"app_configs/validate_resource_bounds_config.json",
153+
"app_configs/l1_endpoint_monitor_config.json",
154+
"app_configs/l1_gas_price_provider_config.json",
155+
"app_configs/l1_gas_price_scraper_config.json",
156+
"app_configs/l1_provider_config.json",
157+
"app_configs/l1_scraper_config.json",
158+
"app_configs/monitoring_endpoint_config.json",
159+
"deployments/potc_mock/deployment_config_override.json",
160+
"deployments/potc_mock/hybrid_10.json",
161+
"services/hybrid/l1.json"
162+
],
163+
"ingress": null,
164+
"k8s_service_config": null,
165+
"autoscale": false,
166+
"replicas": 1,
167+
"storage": null,
168+
"toleration": "apollo-l1-service",
169+
"resources": {
170+
"requests": {
171+
"cpu": 1,
172+
"memory": 2
173+
},
174+
"limits": {
175+
"cpu": 2,
176+
"memory": 4
177+
}
178+
},
179+
"external_secret": {
180+
"gcsm_key": "apollo-potc-mock-10"
181+
},
182+
"anti_affinity": true,
183+
"update_strategy_type": "Recreate",
184+
"ports": {
185+
"L1EndpointMonitor": 55005,
186+
"L1GasPriceProvider": 55003,
187+
"L1Provider": 55004,
188+
"MonitoringEndpoint": 8082
189+
}
190+
},
191+
{
192+
"name": "Mempool",
193+
"controller": "Deployment",
194+
"config_paths": [
195+
"app_configs/config_manager_config.json",
196+
"app_configs/revert_config.json",
197+
"app_configs/versioned_constants_overrides_config.json",
198+
"app_configs/validate_resource_bounds_config.json",
199+
"app_configs/mempool_config.json",
200+
"app_configs/mempool_p2p_config.json",
201+
"app_configs/monitoring_endpoint_config.json",
202+
"deployments/potc_mock/deployment_config_override.json",
203+
"deployments/potc_mock/hybrid_10.json",
204+
"services/hybrid/mempool.json"
205+
],
206+
"ingress": null,
207+
"k8s_service_config": null,
208+
"autoscale": false,
209+
"replicas": 1,
210+
"storage": null,
211+
"toleration": "apollo-mempool-service",
212+
"resources": {
213+
"requests": {
214+
"cpu": 1,
215+
"memory": 2
216+
},
217+
"limits": {
218+
"cpu": 2,
219+
"memory": 4
220+
}
221+
},
222+
"external_secret": {
223+
"gcsm_key": "apollo-potc-mock-10"
224+
},
225+
"anti_affinity": true,
226+
"update_strategy_type": "Recreate",
227+
"ports": {
228+
"Mempool": 55006,
229+
"MonitoringEndpoint": 8082
230+
}
231+
},
232+
{
233+
"name": "SierraCompiler",
234+
"controller": "Deployment",
235+
"config_paths": [
236+
"app_configs/config_manager_config.json",
237+
"app_configs/revert_config.json",
238+
"app_configs/versioned_constants_overrides_config.json",
239+
"app_configs/validate_resource_bounds_config.json",
240+
"app_configs/monitoring_endpoint_config.json",
241+
"app_configs/sierra_compiler_config.json",
242+
"deployments/potc_mock/deployment_config_override.json",
243+
"deployments/potc_mock/hybrid_10.json",
244+
"services/hybrid/sierra_compiler.json"
245+
],
246+
"ingress": null,
247+
"k8s_service_config": null,
248+
"autoscale": true,
249+
"replicas": 2,
250+
"storage": null,
251+
"toleration": "apollo-general-service",
252+
"resources": {
253+
"requests": {
254+
"cpu": 1,
255+
"memory": 2
256+
},
257+
"limits": {
258+
"cpu": 2,
259+
"memory": 4
260+
}
261+
},
262+
"external_secret": {
263+
"gcsm_key": "apollo-potc-mock-10"
264+
},
265+
"anti_affinity": false,
266+
"update_strategy_type": "RollingUpdate",
267+
"ports": {
268+
"SierraCompiler": 55007,
269+
"MonitoringEndpoint": 8082
270+
}
271+
}
272+
]
273+
}

0 commit comments

Comments
 (0)