Commit 26e4876f authored by Domenico Giordano's avatar Domenico Giordano
Browse files

organize documentation

parent 3957cad5
# Anomaly Detection System driven by Airflow
**NB**:
In these examples there are dummy passwords, in the secret.sh file
those passwords are here only as example for a simple local test.
!!! Do not commit real production passwords !!!
The Anomaly Detection System driven by Airflow can be started in different ways
1. using Docker compose on a given VM
1. using Docker Swarm (requires a Swarm cluster is already up)
1. using Kubernetes (w.i.p)
Details are in the following paragraphs.
In these examples there are dummy passwords stored in the secret.sh file.
Those passwords are here only as example for a simple local test.
**!!! Do not commit real production passwords !!!**
## Docker Operator
......@@ -24,25 +17,6 @@ Docker swarm operator
- https://airflow.apache.org/docs/stable/_modules/airflow/contrib/operators/docker_swarm_operator.html#DockerSwarmOperator._run_image
## Docker Compose
This is the standard method. The instructions are in the main [README.md](../README.md) of the control_room area
## Docker Swarm
This is still W.I.P.
In case of a docker swarm, run to start look into the script in folder [docker-swarm](./docker-swarm)
## Kubernetes
This is still W.I.P.
Documentation can be found at
- https://kubernetes.io/blog/2018/06/28/airflow-on-kubernetes-part-1-a-different-kind-of-operator/
- https://airflow.apache.org/docs/stable/kubernetes.html
## Troubleshooting
This section collects some expedients applied in case of issues.
......@@ -58,3 +32,5 @@ ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables fa
systemctl restart docker
systemctl restart iptables
iptables -t filter -N DOCKER
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment