You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2026. It is now read-only.
* refactor helm charts
* first draft of the new Travis CI script
* first draft of the new Travis CI script
* add helm init for CI
* enhance CI script
* fix typo in script
* package helm chart and move to docs repo for helm chart hosting preparation
* condense the 4 helm charts into 3
* update detailed installation guide
* update developer guide
* update helm chart naming
Copy file name to clipboardExpand all lines: README.md
+30-35Lines changed: 30 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,8 @@ To know more about the architectural details, please read the [design document](
19
19
*`helm`: The Kubernetes package manager (https://helm.sh)
20
20
*`docker`: The Docker command-line interface (https://www.docker.com/)
21
21
*`S3 CLI`: The [command-line interface](https://aws.amazon.com/cli/) to configure your Object Storage
22
-
* An existing Kubernetes cluster (e.g., [Kubeadm-DIND](https://github.com/kubernetes-sigs/kubeadm-dind-cluster#using-preconfigured-scripts) for local testing).
22
+
* An existing Kubernetes cluster (e.g., [Kubeadm-DIND](https://github.com/kubernetes-sigs/kubeadm-dind-cluster#using-preconfigured-scripts) for local testing or Follow the appropriate instructions for standing up your Kubernetes cluster using [IBM Cloud Public](https://github.com/IBM/container-journey-template/blob/master/README.md) or [IBM Cloud Private](https://github.com/IBM/deploy-ibm-cloud-private/blob/master/README.md)). The minimum capacity requirement for FfDL is 4GB Memory and 3 CPUs.
23
23
<!-- For Minikube, use the command `make minikube` to start Minikube and set up local network routes. Minikube **v0.25.1** is tested with Travis CI. -->
24
-
* Follow the appropriate instructions for standing up your Kubernetes cluster using [IBM Cloud Public](https://github.com/IBM/container-journey-template/blob/master/README.md) or [IBM Cloud Private](https://github.com/IBM/deploy-ibm-cloud-private/blob/master/README.md)
25
-
* The minimum capacity requirement for FfDL is 4GB Memory and 3 CPUs.
26
24
27
25
## Usage Scenarios
28
26
@@ -37,8 +35,8 @@ To know more about the architectural details, please read the [design document](
37
35
## Steps
38
36
39
37
1.[Quick Start](#1-quick-start)
40
-
- 1.1 [Installation using Kubeadm-DIND](#11-installation-using-kubeadm-dind)
41
-
- 1.2 [Installation using Kubernetes Cluster](#12-installation-using-kubernetes-cluster)
38
+
- 1.1 [Installation using Kubernetes Cluster](#11-installation-using-kubernetes-cluster)
39
+
- 1.2 [Installation using Kubeadm-DIND](#12-installation-using-kubeadm-dind)
42
40
2.[Test](#2-test)
43
41
3.[Monitoring](#3-monitoring)
44
42
4.[Development](#4-development)
@@ -48,57 +46,55 @@ To know more about the architectural details, please read the [design document](
48
46
49
47
## 1. Quick Start
50
48
51
-
There are multiple installation paths for installing FfDL into an existing Kubernetes cluster. Below are the steps for quick install. If you want to follow more detailed step by step instructions , please visit [the detailed installation guide](docs/detailed-installation-guide.md)
49
+
There are multiple installation paths for installing FfDL into an existing Kubernetes cluster. Below are the steps for quick install. If you want to follow more detailed step by step instructions , please visit [the detailed installation guide](docs/detailed-installation-guide.md)
52
50
53
-
> If you are using bash shell, you can modify the necessary environment variables in `env.txt` and export all of them using the following commands
54
-
> ```shell
55
-
>source env.txt
56
-
>export$(cut -d= -f1 env.txt)
57
-
>```
51
+
* You need to initialize tiller with `helm init` before running the following commands.
58
52
59
-
### 1.1 Installation using Kubeadm-DIND
53
+
### 1.1 Installation using Kubernetes Cluster
54
+
55
+
To install FfDL to any proper Kubernetes cluster, make sure `kubectl` points to the right namespace,
56
+
then deploy the platform services:
60
57
61
-
If you have [Kubeadm-DIND](https://github.com/kubernetes-sigs/kubeadm-dind-cluster#using-preconfigured-scripts) installed on your machine, use these commands to deploy the FfDL platform:
62
58
```shell
63
-
export VM_TYPE=dind
64
-
export PUBLIC_IP=localhost
65
-
export SHARED_VOLUME_STORAGE_CLASS="";
66
59
export NAMESPACE=default # If your namespace does not exist yet, please create the namespace `kubectl create namespace $NAMESPACE` before running the make commands below
60
+
export SHARED_VOLUME_STORAGE_CLASS="ibmc-file-gold"# Change the storage class to what's available on your Cloud Kubernetes Cluster.
67
61
68
-
make deploy-plugin
69
-
make quickstart-deploy
62
+
helm install ibmcloud-object-storage-plugin --name ibmcloud-object-storage-plugin --repo https://ibm.github.io/FfDL/helm-charts --set namespace=$NAMESPACE# Configure s3 driver on the cluster
63
+
helm install ffdl-helper --name ffdl-helper --repo https://ibm.github.io/FfDL/helm-charts --set namespace=$NAMESPACE,shared_volume_storage_class=$SHARED_VOLUME_STORAGE_CLASS --wait # Deploy all the helper micro-services for ffdl
64
+
helm install ffdl-core --name ffdl-core --repo https://ibm.github.io/FfDL/helm-charts --set namespace=$NAMESPACE,lcm.shared_volume_storage_class=$SHARED_VOLUME_STORAGE_CLASS --wait # Deploy all the core ffdl services.
70
65
```
71
66
72
-
### 1.2 Installation using Kubernetes Cluster
73
-
74
-
To install FfDL to any proper Kubernetes cluster, make sure `kubectl` points to the right namespace,
75
-
then deploy the platform services:
76
-
> Note: For PUBLIC_IP, put down one of your Cluster Public IP that can access your Cluster's NodePorts. For IBM Cloud, you can get your Public IP with `bx cs workers <cluster_name>`.
67
+
### 1.2 Installation using Kubeadm-DIND
77
68
69
+
If you have [Kubeadm-DIND](https://github.com/kubernetes-sigs/kubeadm-dind-cluster#using-preconfigured-scripts) installed on your machine, use these commands to deploy the FfDL platform:
78
70
```shell
79
-
export VM_TYPE=none
80
-
export PUBLIC_IP=<Cluster Public IP>
81
-
export NAMESPACE=default # If your namespace does not exist yet, please create the namespace `kubectl create namespace $NAMESPACE` before running the make commands below
71
+
export SHARED_VOLUME_STORAGE_CLASS=""
72
+
export NAMESPACE=default
82
73
83
-
# Change the storage class to what's available on your Cloud Kubernetes Cluster.
# Forward the necessary microservices from the DIND cluster to your localhost.
80
+
./bin/dind-port-forward.sh
88
81
```
89
82
90
83
## 2. Test
91
84
92
85
To submit a simple example training job that is included in this repo (see `etc/examples` folder):
86
+
> Note: For PUBLIC_IP, put down one of your Cluster Public IP that can access your Cluster's NodePorts. You can check your Cluster Public IP with `kubectl get nodes -o wide`.
87
+
> For IBM Cloud, you can get your Public IP with `bx cs workers <cluster_name>`.
93
88
94
89
```shell
90
+
export PUBLIC_IP=<Cluster Public IP># Put down localhost if you are running with Kubeadm-DIND
95
91
make test-push-data-s3
96
92
make test-job-submit
97
93
```
98
94
99
95
## 3. Monitoring
100
96
101
-
The platform ships with a simple Grafana monitoring dashboard. The URL is printed out when running the `deploy` make target.
97
+
The platform ships with a simple Grafana monitoring dashboard. The URL is printed out when running the `status` make target.
102
98
103
99
## 4. Development
104
100
@@ -107,12 +103,11 @@ Please refer to the [developer guide](docs/developer-guide.md) for more details.
107
103
## 5. Clean Up
108
104
If you want to remove FfDL from your cluster, simply use the following commands.
109
105
```shell
110
-
helm delete $(helm list | grep ffdl| awk '{print $1}'| head -n 1)
106
+
helm delete --purge ffdl-core ffdl-helper
111
107
```
112
-
If you want to remove the storage driver and pvc from your cluster, run:
108
+
If you want to remove the storage driver from your cluster, run:
113
109
```shell
114
-
kubectl delete pvc static-volume-1
115
-
helm delete $(helm list | grep ibmcloud-object-storage-plugin | awk '{print $1}'| head -n 1)
0 commit comments