From 6508a2ad224b460bfadef0abb04e6fca0ba86705 Mon Sep 17 00:00:00 2001 From: marcel-dempers Date: Sun, 27 Sep 2020 11:48:18 +1000 Subject: [PATCH] docs wip --- kubernetes/servicemesh/introduction.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/kubernetes/servicemesh/introduction.md b/kubernetes/servicemesh/introduction.md index 1c7fbe3..5490686 100644 --- a/kubernetes/servicemesh/introduction.md +++ b/kubernetes/servicemesh/introduction.md @@ -89,7 +89,7 @@ This is intentional to demonstrate a busy network.
-## Full architecture +## Full application architecture

@@ -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.
+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 | + | | | | + +------------+ +-----------+ + ```