By using one certain version of KubeFATE CLI and KubeFATE Service, we can deploy and manage multiple FATE/FATE-Serving clusters including having multiple versions. We reuse the features of Helm, and fully compatible with Helm Chart. It means the charts can be:
- Deploy directly with Helm;
- Can be customized to fit different requirements.
The KubeFATE service set a default chart repo for getting the charts if not present.
To set the default chart repo in kubefate.yml,
- name: FATECLOUD_REPO_URL
value: "https://federatedai.github.io/KubeFATE/"
In the sample config file is set to our address hosted in GitHub. It can be customized to self repo which follow The Chart Repository Guide.
KubeFATE provides commands to manage the charts, which include:
- Upload a new chart;
- List existed charts;
- Delete an existed chart;
- Show the details of a chart.
The chart can be downloaded in each KubeFATE release, with name fate-{release_version}.tgz
: https://github.com/FederatedAI/KubeFATE/releases
Download it and copy it to the folder to upload.
$ kubefate chart upload -f ./fate-v1.10.0.tgz
Upload file success
$ kubefate chart ls
UUID NAME VERSION APPVERSION
ca3f7843-749a-4f69-9f6b-4c544a7623ac fate v1.10.0 v1.10.0
Then, we can deploy the fate cluster of v1.10.0 version. The detail of cluster.yaml please refer to: FATE Cluster Configuration
chartName: fate
chartVersion: v1.10.0
We can delete the chart with:
$ kubefate chart delete ca3f7843-749a-4f69-9f6b-4c544a7623ac
deleteChart success
$ kubefate chart ls
not find HelmChart