---
# System prepended metadata

title: Cluster Swarm CGR-R2
tags: [linux, Docker, estudos]

---

# Cluster Swarm CGR-R2

###### tags: `estudos` `linux` `Docker`

ToDo:
--- 
 - Clusterização:
   - Docker Swarm;
 
 - Persistencia de dados:
   - GlusterFs;
    => https://github.com/gluster/gluster-containers
    => https://blog.ruanbekker.com/blog/2019/03/05/container-persistent-storage-for-docker-swarm-using-a-glusterfs-volume-plugin/
 - Backups?!?!
   - virtualizar talvez?!?!?!
 
 - Load Balance:
   - Externo:
     - Keepalive;
   - Interno:
     - Traefik;
 
 - Monitoring
   - Prometheus
   - NetData
   - Node Manager
   - Alert Manager
   - Grafana
---

```graphviz
digraph hierarchy {

nodesep=1.0

dirType=both

"A\nFRONT_IP: 1.2.3.4\nBACK_IP: 20.20.20.20"->"B\nFRONT_IP: 1.2.3.4\nBACK_IP: 20.20.20.20"[dir=both]
"B\nFRONT_IP: 1.2.3.4\nBACK_IP: 20.20.20.20"->"C\nFRONT_IP: 1.2.3.4\nBACK_IP: 20.20.20.20"[dir=both]
"C\nFRONT_IP: 1.2.3.4\nBACK_IP: 20.20.20.20"->"A\nFRONT_IP: 1.2.3.4\nBACK_IP: 20.20.20.20"[dir=both]

"ipVirt\nIP: 10.10.10.10"->"A\nFRONT_IP: 1.2.3.4\nBACK_IP: 20.20.20.20" [color=gray, style=dashed]
"ipVirt\nIP: 10.10.10.10"->"B\nFRONT_IP: 1.2.3.4\nBACK_IP: 20.20.20.20" [color=gray, style=dashed]
"ipVirt\nIP: 10.10.10.10"->"C\nFRONT_IP: 1.2.3.4\nBACK_IP: 20.20.20.20" [color=gray, style=dashed]

}
```





