FederatedAI / KubeFATE

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

Add sevice account for flow #795

Closed JingChen23 closed 1 year ago

JingChen23 commented 2 years ago

Signed-off-by: Chen Jing jingch@vmware.com

Fixes ISSUE #794

Description

  1. Tell the story why you need to make this change from the user's perspective. We need to give a service account for fateflow, to let it be able to do crud for sts of the algorithm container. We also need to give it the capability for doing exec in the algorithm container.

Tests

After fix

After applying the service account for fateflow, I get into the flow pod and verified below operations can work:

  1. create algorithm sts.
  2. check the algorithm sts status.
  3. run a command in the algorithm container.
  4. destroy the sts.