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
Copy file name to clipboardExpand all lines: content/docs/1.3.0/tools/how-to-helm.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ IoFog Helm chart allows users to easily deploy the ioFog stack onto exiting Kube
6
6
7
7
## Prerequisites
8
8
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.
10
10
11
11
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.
We can list all available versions of the ioFog Helm chart using `helm search -l iofog/iofog`.
76
76
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
+
78
83
79
84
```bash
80
85
helm install \
@@ -86,7 +91,9 @@ helm install \
86
91
iofog/iofog
87
92
```
88
93
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:
90
97
91
98
```plain
92
99
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
Copy file name to clipboardExpand all lines: content/docs/1.3.0/tutorial/deploy-our-microservice.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -254,7 +254,8 @@ Sensors RUNNING local-agent {} Moving Average
254
254
255
255
## Conclusion
256
256
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;" />
258
259
259
260
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.
Copy file name to clipboardExpand all lines: content/docs/1.3.0/tutorial/manage-our-microservices.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,9 @@ The _REST API_ is a generic microservice that provides a REST API web server, al
33
33
34
34
_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.
35
35
36
+
Currently, loading the [freeboard dashboard](http://localhost:10102/?load=dashboard.json) should look similar to this:
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.
0 commit comments