mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
docs wip
This commit is contained in:
parent
19289fd9cf
commit
6508a2ad22
@ -89,7 +89,7 @@ This is intentional to demonstrate a busy network.
|
|||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
## Full architecture
|
## Full application architecture
|
||||||
<hr/>
|
<hr/>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
@ -106,6 +106,30 @@ This is intentional to demonstrate a busy network.
|
|||||||
| | | |
|
| | | |
|
||||||
+------------+ +-----------+
|
+------------+ +-----------+
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## Adding an Ingress Controller
|
||||||
|
|
||||||
|
Adding an ingress controller allows us to route all our traffic. </br>
|
||||||
|
We setup a `host` file with entry `demo.com 127.0.0.1`
|
||||||
|
And `port-forward` to the `ingress-controller`
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
demo.com/home --> videos-web
|
||||||
|
demo.com/api/playlists --> playlists-api
|
||||||
|
|
||||||
|
+-------------------+ demo.com/home +------------+ +---------------+ +--------------+
|
||||||
|
|ingress-nginx +----------------->+ videos+web +---->+ playlists+api +--->+ playlists+db |
|
||||||
|
|Ingress controller | | | | | | |
|
||||||
|
+---------+---------+ +------------+ +-----+---------+ +--------------+
|
||||||
|
| |
|
||||||
|
| v
|
||||||
|
| demo.com api/playlists +-----+------+ +-----------+
|
||||||
|
+---------------------------------------------> | videos+api +------>+ videos+db |
|
||||||
|
| | | |
|
||||||
|
+------------+ +-----------+
|
||||||
|
|
||||||
```
|
```
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user