For now we will be using persistent configuration in the cluster settings.
I created a small python script on mwmaint1002:~/home/dcausse/es_multi_instance/push_cross_cluster_conf.py and can be used like this:
python push_cross_cluster_conf.py https://search.svc.codfw.wmnet:9443/_cluster/settings --ccc psi=psi_codfw_masters.lst chi=chi_codfw_masters.lst