FederatedAI / KubeFATE

Manage federated learning workload using cloud native technologies.
Apache License 2.0
423 stars 221 forks source link

Question: how to modify parties after deploy #836

Open nvgruel123 opened 1 year ago

nvgruel123 commented 1 year ago

hey there, I'm using docker-compose to deploy KubeFate, I can successfully create jobs and so on, my question is how to add or remove a party after deployment? also if i have 3 parties, but modify only two of them, what will happen? For example, I have Party A, B, C, and I add Party D to A and B, what will happen?

nvgruel123 commented 1 year ago

currently I found a file call route_table.json in /data/projects/fate/confs-9999/confs/eggroll/conf/ , and I just add or delete party in the file and then restart docker-compose, is that the correct way of doing that? or do I need addtional steps?

owlet42 commented 1 year ago

currently I found a file call route_table.json in /data/projects/fate/confs-9999/confs/eggroll/conf/ , and I just add or delete party in the file and then restart docker-compose, is that the correct way of doing that? or do I need addtional steps?

This is the correct way. Usually, you do not need to restart after modification, and it will take effect after a while.

owlet42 commented 1 year ago

For the routing method of rollsite, please refer to https://github.com/WeBankFinTech/eggroll/wiki/RollSite:-How-It-Works and https://github.com/WeBankFinTech/eggroll/wiki/RollSite:-Configuring-Route-table