Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 0a552b6

Browse files
banzoAyadiAmenalexnuttinckfzalila
authored
Userguide update (#135)
* Monitoring and various documentation fixes (#111) * Update INSTALL.md * CI/CD with minikube * ldap documentation * elastic-stack ldap documentation * Details on JHub LDAP documentation * typo in jhub ldap doc * Helm 3 - Remove deprecated tiller ref, updated traefik install version * Feature/zabbix (#110) * Documentation links fix (#95) * fix the password to connect to Adminer (#99) * Update logging doc (#103) Co-authored-by: Sebastien Dupont <[email protected]> * Zabbix doc: cetic/helm-fadi#27 * Update LOGGING.md Co-authored-by: Sebastien Dupont <[email protected]> Co-authored-by: Alexandre Nuttinck <[email protected]> Co-authored-by: Faiez Zalila <[email protected]> * update zabbix service name * fix #105 (#115) Co-authored-by: Amen Ayadi <[email protected]> Co-authored-by: Amen AYADI <[email protected]> Co-authored-by: Alexandre Nuttinck <[email protected]> Co-authored-by: Faiez Zalila <[email protected]> * Simplified description * Remove outdated Helm architecture schema * Delete helm-architecture.png * removed erroneous dashboard link, added troubleshooting guidance (logs howto and FAQ link) * Add kubectl logs/events guidance to bug report template * FAQ: add logs/debug instructions, change FADI acronym explanation, add links to how to extend FADI * Delete helm/tiller directory * Add ingress note in FAQ, fixes #121 * typo Co-authored-by: Amen Ayadi <[email protected]> Co-authored-by: Amen AYADI <[email protected]> Co-authored-by: Alexandre Nuttinck <[email protected]> Co-authored-by: Faiez Zalila <[email protected]>
1 parent bc1845d commit 0a552b6

File tree

6 files changed

+39
-32
lines changed

6 files changed

+39
-32
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A clear and concise description of what the bug is.
2121
Provide the environment in which the bug has happened (minikube on a workstation, full fledged Kubernetes cluster, ...)
2222

2323
* **OS** (e.g. from `/etc/os-release`)
24-
* **VM driver** (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName)
24+
* **VM driver** (e.g. `cat ~/.minikube/machines/minikube/config.json | grep DriverName`)
2525
* **Minikube version** (e.g. `minikube version`)
2626

2727
**What happened**:
@@ -34,6 +34,14 @@ Provide the environment in which the bug has happened (minikube on a workstation
3434

3535
**Output of `minikube logs` (if applicable)**:
3636

37+
**Output of Kubectl for pods, events**
38+
39+
```bash
40+
kubectl get events --all-namespaces
41+
kubectl get events -n fadi
42+
kubectl get pods -n fadi
43+
kubectl logs fadi-nifi
44+
```
3745

3846
**Anything else we need to know**:
3947

FAQ.md

+17-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ FAQ - Frequently asked questions
1010

1111
In case you encounter an issue with FADI, have a feature request or any other question, feel free to [open an issue](https://github.com/cetic/fadi/issues/new/choose).
1212

13+
## How can I extend FADI
14+
15+
FADI relies on Helm to integrate the various service together. To add another service to the stack, you can package it inside a [Helm chart](https://helm.sh/docs/howto/) and [add it to your own FADI chart](helm/README.md).
16+
1317
## Why "FADI"?
1418

15-
FADI is the acronym for "Framework d'Analyse de Données Industrielles" ("A Framework for Industrial Data Analysis")
19+
FADI is the acronym for "Framework for Automating the Deployment and orchestration of container-based Infrastructures"
1620

1721
## FADI is not working
1822

@@ -22,7 +26,15 @@ Please make sure the following steps have been taken beforehand:
2226

2327
* update Minikube to the latest version
2428
* update Helm to the latest version
25-
* check the logs (`minikube logs`) for any suspicious error message
29+
* check the logs for any suspicious error message:
30+
31+
```bash
32+
minikube logs
33+
kubectl get events --all-namespaces
34+
kubectl get events -n fadi
35+
kubectl get pods -n fadi
36+
kubectl logs fadi-nifi
37+
```
2638

2739
## OSx - slow installation
2840

@@ -41,6 +53,8 @@ See
4153
* [doc/REVERSEPROXY.md](doc/REVERSEPROXY.md) for the reverse proxy configuration guide
4254
* https://github.com/cetic/fadi/issues/81 for port forwarding instructions
4355

56+
In a Minikube setting, make sure the ingress plugin is enabled (`minikube addons enable ingress`), and populate your `/etc/hosts` file accordingly.
57+
4458
## How to configure Kubernetes Storage Class?
4559

4660
If you encounter the error `pod has unbound PersistentVolumeClaims`, make sure you have a **default StorageClass** in your cluster.
@@ -79,4 +93,4 @@ kubectl patch storageclass local-path -p '{"metadata": {"annotations":{"storagec
7993
See also:
8094

8195
* Kubernetes official documentation on storage classes: https://kubernetes.io/docs/concepts/storage/storage-classes/
82-
* https://github.com/cetic/helm-fadi/issues/15
96+
* https://github.com/cetic/helm-fadi/issues/15

INSTALL.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ The deployment of the FADI stack is achieved with:
2626
* [Helm v3](https://helm.sh/).
2727
* [Kubernetes](https://kubernetes.io/).
2828

29-
![](doc/images/architecture/helm-architecture.png)
30-
3129
## 1. Local installation
3230

3331
This type of installation provides a quick way to test the platform, and also to adapt it to your needs.
@@ -70,7 +68,7 @@ To get the Kubernetes dashboard, type:
7068
minikube dashboard
7169
```
7270

73-
This will open a browser window with the [Kubernetes Dashboard](http://127.0.0.1:40053/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/), it should look like this:
71+
This will open a browser window with the Kubernetes Dashboard:
7472

7573
![Minikube initial dashboard](doc/images/installation/minikube_dashboard.png)
7674

@@ -195,7 +193,16 @@ It is also possible to create the Kubernetes cluster in command line, see: https
195193
## 4. Troubleshooting
196194

197195
* Installation logs are located in the `helm/deploy.log` file.
198-
* Enable local monitoring in minikube: `minikube addons enable metrics-server`
196+
* Check the Minikube and Kubernetes logs:
197+
```bash
198+
minikube logs
199+
kubectl get events --all-namespaces
200+
kubectl get events -n fadi
201+
kubectl get pods -n fadi
202+
kubectl logs fadi-nifi-xxxxx -n fadi
203+
```
204+
* Enable [metrics server](https://kubernetes.io/docs/tasks/debug-application-cluster/resource-metrics-pipeline/#metrics-server) in minikube: `minikube addons enable metrics-server`
205+
* The [FAQ](FAQ.md) provides some guidance on common issues
199206
* For Windows users, please refer to the following [issue](https://github.com/cetic/fadi/issues/55).
200207

201208
## 5. Continuous integration (CI) and deployment (CD)

README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88

99
## What is FADI?
1010

11-
FADI is a Cloud Native platform for Big Data based on mature open source tools.
12-
The FADI project is dedicated to making the deployment of Big Data tools simple, portable and scalable.
13-
The goal is to provide a straightforward way to deploy open-source systems for Big Data to various infrastructures (private and public clouds).
14-
Anywhere you can run [Kubernetes](https://kubernetes.io/), you should be able to run FADI.
11+
The purpose of FADI is to provide a straightforward way to deploy integrated and modular Big Data systems to various infrastructures (private and public clouds). FADI relies on the [Kubernetes](https://kubernetes.io/) container orchestration engine for portability and scalability.
1512

1613
![FADI carousel](doc/images/carousel/carousel.gif)
1714

@@ -70,4 +67,4 @@ This project follows the [all-contributors](https://github.com/all-contributors/
7067
You can find out more about FADI on the [CETIC website](https://cetic.be/FADI)
7168

7269
## License
73-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fcetic%2Ffadi.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fcetic%2Ffadi?ref=badge_large)
70+
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fcetic%2Ffadi.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fcetic%2Ffadi?ref=badge_large)
-123 KB
Binary file not shown.

helm/tiller/rbac-config.yaml

-19
This file was deleted.

0 commit comments

Comments
 (0)