Skip to content

Commit 4e363c3

Browse files
authored
Merge pull request #85 from eclipse-iofog/develop
Minor fixes and improvements for 1.3.0 documentation - Helm and Tutorial
2 parents 8477bfd + 8647115 commit 4e363c3

File tree

6 files changed

+19
-8
lines changed

6 files changed

+19
-8
lines changed

content/docs/1.3.0/tools/how-to-helm.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ IoFog Helm chart allows users to easily deploy the ioFog stack onto exiting Kube
66

77
## Prerequisites
88

9-
First, we need a working Kubernetes cluster. WE can simply set up a cluster on the Google Kubernetes Engine (GKE) by following the [Creating a cluster tutorial](https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-cluster). Using any other managed cluster providers works as well, so do custom installations of Kubernetes, e.g. Minikube.
9+
First, we need a working Kubernetes cluster. We can simply set up a cluster on the Google Kubernetes Engine (GKE) by following the [Creating a cluster tutorial](https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-cluster). Using any other managed cluster providers works as well, so do custom installations of Kubernetes, e.g. Minikube.
1010

1111
IoFog also provides [tools for infrastructure setup](https://github.com/eclipse-iofog/platform) to setup a Kubernetes cluster in case we don't have one available. Please see [Platform Tools](./platform-tools.html) for more details.
1212

@@ -74,7 +74,12 @@ helm repo add iofog https://eclipse-iofog.github.io/helm
7474

7575
We can list all available versions of the ioFog Helm chart using `helm search -l iofog/iofog`.
7676

77-
To install a specific version of ioFog, use `helm install`:
77+
To install a specific version of ioFog, use `--version <desired-version>` parameter to `helm install`
78+
79+
_Keep in mind if there already is any existing ioFog stack on the cluster, a set of Custom Resource Definitions has probably already been created. In such case, you will need to disable deploying these CRDs as described in [Multiple Edge Compute Networks](#multiple-edge-compute-networks)._
80+
81+
The final `helm install` command to install ioFog with CRDs then looks like this:
82+
7883

7984
```bash
8085
helm install \
@@ -86,7 +91,9 @@ helm install \
8691
iofog/iofog
8792
```
8893

89-
To list all Helm releases, we can simply run `helm list`. The result should look like this:
94+
The `--name my-ecn` refers to the Helm release name as shown below, while the `--namespace my-ecn` refers to the namespace taken by the Helm release in the target Kubernetes cluster.
95+
96+
To list all Helm releases (including deployed ioFog stacks), we can simply run `helm list`. The result should look like this:
9097

9198
```plain
9299
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
@@ -98,10 +105,10 @@ The following is a complete list of all user configurable properties for the ioF
98105
| Property | Default value | Description |
99106
| --------------------------------------- | ------------------------------- | --------------------------------------------------------------------------------------------- |
100107
| createCustomResources | true | See [Multiple Edge Compute Networks](#multiple-edge-compute-networks) |
101-
| controlPlane.userfirstName | First | First name of initial user in Controller |
102-
| controlPlane.usersurname | Second | Surname of initial user in Controller |
103-
| controlPlane.useremail | [email protected] | Email (login) of initial user in Controller |
104-
| controlPlane.userpassword | H23fkidf9hoibf2nlk | Password of initial user in Controller |
108+
| controlPlane.user.firstName | First | First name of initial user in Controller |
109+
| controlPlane.user.surname | Second | Surname of initial user in Controller |
110+
| controlPlane.user.email | [email protected] | Email (login) of initial user in Controller |
111+
| controlPlane.user.password | H23fkidf9hoibf2nlk | Password of initial user in Controller |
105112
| controlPlane.database.provider | | Not supported in ioFog Community Edition |
106113
| controlPlane.database.host | | Not supported in ioFog Community Edition |
107114
| controlPlane.database.port | 0 | Not supported in ioFog Community Edition |

content/docs/1.3.0/tutorial/deploy-our-microservice.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ Sensors RUNNING local-agent {} Moving Average
254254

255255
## Conclusion
256256

257-
Have a look at new output of the Freeboard at <a href="http://localhost:10102/?load=dashboard.json" target="_blank">http://localhost:10102/?load=dashboard.json</a>. This should now display the values modified by moving average.
257+
Have a look at new output of the [Freeboard dashboard](http://localhost:10102/?load=dashboard.json). This should now display the values modified by moving average and look similar to this:
258+
<img src="/images/Freeboard_2.png" style="max-width:100%;border-radius: 0.3em;margin: 35px 0;" />
258259

259260
The magic about microservices and ioFog is that none of those microservice is specifically designed or requires to work with the other microservice. Using ioFog, you can create smart and secure communication channels between independant microservices and easily manage a fleet of Edge devices and microservices.
260261

content/docs/1.3.0/tutorial/manage-our-microservices.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ The _REST API_ is a generic microservice that provides a REST API web server, al
3333

3434
_Freeboard_ is the last microservice that provides an HTML dashboard to view the real-time results coming from a rest API data source. In the case of our tutorial, the source of the data is our REST API microservice.
3535

36+
Currently, loading the [freeboard dashboard](http://localhost:10102/?load=dashboard.json) should look similar to this:
37+
<img src="/images/Freeboard_1.png" style="max-width:100%;border-radius: 0.3em;margin: 35px 0;" />
38+
3639
## Routes
3740

3841
The Sensors and REST API microservices are generic. They are not hardcoded to talk with each other, instead, the relationship dictating the flow of data was configured with the Controller. This is in the spirit of the microservice architecture, separating concerns into pieces so that we can combine and interchange them.

static/images/Freeboard_1.png

98.8 KB
Loading

static/images/Freeboard_2.png

106 KB
Loading
-162 KB
Binary file not shown.

0 commit comments

Comments
 (0)