From ae0089a100836fc333de16b74f60cfc4ca4ce046 Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Sun, 18 Dec 2022 19:47:51 +0000 Subject: [PATCH 1/2] Replace images for Virtual IPs and Service Proxies Co-Authored-By: Tamilselvan Thangamony --- .../docs/services-iptables-overview.svg | 129 +----------------- static/images/docs/services-ipvs-overview.svg | 125 +---------------- 2 files changed, 8 insertions(+), 246 deletions(-) diff --git a/static/images/docs/services-iptables-overview.svg b/static/images/docs/services-iptables-overview.svg index 6f014438b3..7a14af7557 100644 --- a/static/images/docs/services-iptables-overview.svg +++ b/static/images/docs/services-iptables-overview.svg @@ -1,125 +1,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Backend Pod 1 - labels: app=MyApp - port: 9376 - - - - - - Backend Pod 2 - labels: app=MyApp - port: 9376 - - - - - - Backend Pod 3 - labels: app=MyApp - port: 9376 - - - - - - - - - - - - Client - - - - - - kube-proxy - - - - - - - apiserver - - - - - - clusterIP - (iptables) - - Node - - + + + +

API server

API server

Node

Node

Client Pod (frontend)

Client Pod (frontend)
IP address for Service
("ClusterIP")
IP address for Servi...

kube-proxy

kube-proxy
labels: app=MyApp
labels: app=MyApp
port: 9376
port: 9376

Backend Pod 1

Backend Pod 1
labels: app=MyApp
labels: app=MyApp
port: 9376
port: 9376

Backend Pod 2

Backend Pod 2
labels: app=MyApp
labels: app=MyApp
port: 9376
port: 9376

Backend Pod 3

Backend Pod 3
Text is not SVG - cannot display
\ No newline at end of file diff --git a/static/images/docs/services-ipvs-overview.svg b/static/images/docs/services-ipvs-overview.svg index de745a7640..e6b6cb29cf 100644 --- a/static/images/docs/services-ipvs-overview.svg +++ b/static/images/docs/services-ipvs-overview.svg @@ -1,121 +1,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Backend Pod 1 - - - - - - Backend Pod 2 - - - - - - Backend Pod 3 - - - - - - - - - - - - Client - - - - - - kube-proxy - - - - - - - apiserver - - - - - - clusterIP - (Virtual Server) - - Node - (Real Server) - - + + + +

API server

API server

Node

Node

Client Pod (frontend)

Client Pod (frontend)
IP address for Service
("ClusterIP")
IP address for Servi...

kube-proxy

kube-proxy

Backend Pod 3

Backend Pod 3

Backend Pod 2

Backend Pod 2

Backend Pod 1

Backend Pod 1
(Real Server)
(Real Server)
Text is not SVG - cannot display
\ No newline at end of file From 71180eaf5be9254f26f9e6ecdf115c4fe7568b8e Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Sun, 18 Dec 2022 20:15:36 +0000 Subject: [PATCH 2/2] Commit rendered images for virtual IPs reference - Convert text to curves - Slight tweaks Co-Authored-By: Tamilselvan Thangamony --- .../docs/reference/networking/virtual-ips.md | 4 +- .../docs/services-iptables-overview.svg | 873 +++++++++++++++++- static/images/docs/services-ipvs-overview.svg | 596 +++++++++++- 3 files changed, 1463 insertions(+), 10 deletions(-) diff --git a/content/en/docs/reference/networking/virtual-ips.md b/content/en/docs/reference/networking/virtual-ips.md index 4022317a82..7095ac6a44 100644 --- a/content/en/docs/reference/networking/virtual-ips.md +++ b/content/en/docs/reference/networking/virtual-ips.md @@ -87,7 +87,7 @@ to verify that backend Pods are working OK, so that kube-proxy in iptables mode only sees backends that test out as healthy. Doing this means you avoid having traffic sent via kube-proxy to a Pod that's known to have failed. -{{< figure src="/images/docs/services-iptables-overview.svg" title="Services overview diagram for iptables proxy" class="diagram-medium" >}} +{{< figure src="/images/docs/services-iptables-overview.svg" title="Virtual IP mechanism for Services, using iptables mode" class="diagram-medium" >}} #### Example {#packet-processing-iptables} @@ -147,7 +147,7 @@ kernel modules are available. If the IPVS kernel modules are not detected, then falls back to running in iptables proxy mode. {{< /note >}} -{{< figure src="/images/docs/services-ipvs-overview.svg" title="Services overview diagram for IPVS proxy" class="diagram-medium" >}} +{{< figure src="/images/docs/services-ipvs-overview.svg" title="Virtual IP address mechanism for Services, using IPVS mode" class="diagram-medium" >}} ## Session affinity diff --git a/static/images/docs/services-iptables-overview.svg b/static/images/docs/services-iptables-overview.svg index 7a14af7557..345686cd99 100644 --- a/static/images/docs/services-iptables-overview.svg +++ b/static/images/docs/services-iptables-overview.svg @@ -1,4 +1,869 @@ - - - -

API server

API server

Node

Node

Client Pod (frontend)

Client Pod (frontend)
IP address for Service
("ClusterIP")
IP address for Servi...

kube-proxy

kube-proxy
labels: app=MyApp
labels: app=MyApp
port: 9376
port: 9376

Backend Pod 1

Backend Pod 1
labels: app=MyApp
labels: app=MyApp
port: 9376
port: 9376

Backend Pod 2

Backend Pod 2
labels: app=MyApp
labels: app=MyApp
port: 9376
port: 9376

Backend Pod 3

Backend Pod 3
Text is not SVG - cannot display
\ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/images/docs/services-ipvs-overview.svg b/static/images/docs/services-ipvs-overview.svg index e6b6cb29cf..d2c2f702d4 100644 --- a/static/images/docs/services-ipvs-overview.svg +++ b/static/images/docs/services-ipvs-overview.svg @@ -1,4 +1,592 @@ - - - -

API server

API server

Node

Node

Client Pod (frontend)

Client Pod (frontend)
IP address for Service
("ClusterIP")
IP address for Servi...

kube-proxy

kube-proxy

Backend Pod 3

Backend Pod 3

Backend Pod 2

Backend Pod 2

Backend Pod 1

Backend Pod 1
(Real Server)
(Real Server)
Text is not SVG - cannot display
\ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +