File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed
Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ def launch(
197197 v_max_cpu ,
198198 v_min_mem ,
199199 v_max_mem ,
200+ validator_node_service_name ,
200201 extra_validator_params ,
201202 extra_validator_labels ,
202203 )
@@ -391,6 +392,7 @@ def get_validator_config(
391392 v_max_cpu ,
392393 v_min_mem ,
393394 v_max_mem ,
395+ validator_node_service_name ,
394396 extra_params ,
395397 extra_labels ,
396398):
@@ -427,6 +429,7 @@ def get_validator_config(
427429 "--metrics-allow-origin=*" ,
428430 "--metrics-port={0}" .format (VALIDATOR_METRICS_PORT_NUM ),
429431 # ^^^^^^^^^^^^^^^^^^^ PROMETHEUS CONFIG ^^^^^^^^^^^^^^^^^^^^^
432+ "--graffiti=" + validator_node_service_name ,
430433 ]
431434
432435 if len (extra_params ):
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ def launch(
173173 v_max_cpu ,
174174 v_min_mem ,
175175 v_max_mem ,
176+ validator_node_service_name ,
176177 extra_validator_params ,
177178 extra_validator_labels ,
178179 )
@@ -339,6 +340,7 @@ def get_validator_config(
339340 v_max_cpu ,
340341 v_min_mem ,
341342 v_max_mem ,
343+ validator_node_service_name ,
342344 extra_params ,
343345 extra_labels ,
344346):
@@ -372,6 +374,7 @@ def get_validator_config(
372374 "--metrics.address=0.0.0.0" ,
373375 "--metrics.port={0}" .format (METRICS_PORT_NUM ),
374376 # ^^^^^^^^^^^^^^^^^^^ PROMETHEUS CONFIG ^^^^^^^^^^^^^^^^^^^^^
377+ "--graffiti=" + validator_node_service_name ,
375378 ]
376379
377380 if len (extra_params ) > 0 :
Original file line number Diff line number Diff line change @@ -381,8 +381,9 @@ def get_validator_config(
381381 # vvvvvvvvvvvvvvvvvvv METRICS CONFIG vvvvvvvvvvvvvvvvvvvvv
382382 "--disable-monitoring=false" ,
383383 "--monitoring-host=0.0.0.0" ,
384- "--monitoring-port={0}" .format (VALIDATOR_MONITORING_PORT_NUM )
384+ "--monitoring-port={0}" .format (VALIDATOR_MONITORING_PORT_NUM ),
385385 # ^^^^^^^^^^^^^^^^^^^ METRICS CONFIG ^^^^^^^^^^^^^^^^^^^^^
386+ "--graffiti=" + service_name ,
386387 ]
387388
388389 if len (extra_params ) > 0 :
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ def launch(
133133 bn_max_mem ,
134134 snooper_enabled ,
135135 snooper_engine_context ,
136+ service_name ,
136137 extra_params ,
137138 extra_labels ,
138139 )
@@ -190,6 +191,7 @@ def get_config(
190191 bn_max_mem ,
191192 snooper_enabled ,
192193 snooper_engine_context ,
194+ service_name ,
193195 extra_params ,
194196 extra_labels ,
195197):
@@ -275,6 +277,7 @@ def get_config(
275277 "--metrics-port={0}" .format (METRICS_PORT_NUM ),
276278 # ^^^^^^^^^^^^^^^^^^^ METRICS CONFIG ^^^^^^^^^^^^^^^^^^^^^
277279 "--Xtrusted-setup=" + constants .KZG_DATA_DIRPATH_ON_CLIENT_CONTAINER ,
280+ "--validators-graffiti=" + service_name ,
278281 ]
279282
280283 # Depending on whether we're using a node keystore, we'll need to add the validator flags
You can’t perform that action at this time.
0 commit comments