1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-23 06:31:49 +00:00

Merge branch 'markdown-to-markua'

This commit is contained in:
David Young
2019-01-21 08:47:10 +13:00
9 changed files with 60 additions and 8 deletions

View File

@@ -14,6 +14,7 @@ ha-docker-swarm/traefik.md
ha-docker-swarm/docker-swarm-mode.md
ha-docker-swarm/duplicity.md
<<<<<<< HEAD
sections/recipes.md
recipes/autopirate.md
recipes/elkarbackup.md
@@ -38,6 +39,23 @@ recipes/privatebin.md
recipes/swarmprom.md
recipes/wekan.md
=======
sections/recipies.md
recipies/mail.md
recipies/gitlab.md
recipies/gitlab-runner.md
recipies/wekan.md
recipies/huginn.md
recipies/kanboard.md
recipies/miniflux.md
recipies/ghost.md
recipies/piwik.md
recipies/autopirate.md
recipies/nextcloud.md
recipies/portainer.md
recipies/turtle-pool.md
recipies/tiny-tiny-rss.md
>>>>>>> markdown-to-markua
sections/reference.md
reference/oauth_proxy.md
@@ -45,3 +63,4 @@ reference/data_layout.md
reference/networks.md
reference/git-docker.md
reference/openvpn.md
reference/troubleshooting.md

View File

@@ -51,7 +51,7 @@ Assuming 3 nodes, under normal circumstances the following is illustrated:
* The **traefik** service (in swarm mode) receives incoming requests (on http and https), and forwards them to individual containers. Traefik knows the containers names because it's able to access the docker socket.
* All 3 nodes run keepalived, at different priorities. Since traefik is running as a swarm service and listening on TCP 80/443, requests made to the keepalived VIP and arriving at **any** of the swarm nodes will be forwarded to the traefik container (no matter which node it's on), and then onto the target backend.
![HA function](images/docker-swarm-ha-function.png)
![HA function](../images/docker-swarm-ha-function.png)
### Node failure
@@ -63,7 +63,7 @@ In the case of a failure (or scheduled maintenance) of one of the nodes, the fol
* The **traefik** service is either restarted or unaffected, and as the backend containers stop/start and change IP, traefik is aware and updates accordingly.
* The keepalived VIP continues to function on the remaining nodes, and docker swarm continues to forward any traffic received on TCP 80/443 to the appropriate node.
![HA function](images/docker-swarm-node-failure.png)
![HA function](../images/docker-swarm-node-failure.png)
### Node restore
@@ -75,7 +75,7 @@ When the failed (or upgraded) host is restored to service, the following is illu
* Keepalived VIP regains full redundancy
![HA function](images/docker-swarm-node-restore.png)
![HA function](../images/docker-swarm-node-restore.png)
### Total cluster failure

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

View File

Before

Width:  |  Height:  |  Size: 314 KiB

After

Width:  |  Height:  |  Size: 314 KiB

View File

Before

Width:  |  Height:  |  Size: 333 KiB

After

Width:  |  Height:  |  Size: 333 KiB

View File

Before

Width:  |  Height:  |  Size: 310 KiB

After

Width:  |  Height:  |  Size: 310 KiB