Diagram

Network Diagram Description

Components:

  1. Physical Machine 1:

    • Hosts VM 1 (Master Node) and VM 2 (Worker Node).

    • Contains an NFS Server providing storage.

  2. Physical Machine 2:

    • Hosts VM 3 (Worker Node).
  3. Network:

    • All VMs are connected via a bridged network on the same subnet (e.g., 192.168.1.0/24).

    • Communication occurs over IPv4 (IPv6 disabled).

  4. External Access:

    • A local client (e.g., your laptop) accesses applications via Traefik ingress on VM 1.

Connections:

  • VM 1 (Master):

    • IP: 192.168.1.100 (example).

    • Runs k3s server, Traefik ingress, and manages the cluster.

    • Connects to VM 2 and VM 3 for cluster operations.

    • Mounts NFS share from Physical Machine 1.

  • VM 2 (Worker):

    • IP: 192.168.1.101.

    • Runs k3s agent, hosts application pods.

    • Mounts NFS share from Physical Machine 1.

  • VM 3 (Worker):

    • IP: 192.168.1.102.

    • Runs k3s agent, hosts application pods.

    • Mounts NFS share from Physical Machine 1 over the network.

  • NFS Server (Physical Machine 1):

    • IP: 192.168.1.10.

    • Exports /path/to/share to the subnet.

  • Local Client:

    • Accesses apps via http://.mylab.local resolved to VM 1’s IP.

ASCII Network Diagram

+------------------+           +------------------+
| Physical Machine 1|           | Physical Machine 2|
|                  |           |                  |
|  +-----------+   |           |  +-----------+   |
|  | VM 1      |   |           |  | VM 3      |   |
|  | (Master)  |   |           |  | (Worker)  |   |
|  | 192.168.1.100|   |           |  | 192.168.1.102|   |
|  | k3s Server|   |           |  | k3s Agent|   |
|  | Traefik   |   |           |  +-----------+   |
|  +-----------+   |           |                  |
|  | VM 2      |   |           +------------------+
|  | (Worker)  |   |
|  | 192.168.1.101|   |
|  | k3s Agent |   |
|  +-----------+   |
|  NFS Server      |
|  192.168.1.10    |
|  /path/to/share  |
+------------------+
       |      |      |
       |      |      +----------------+
       |      |                       |
       |      +-------------+         |
       |                    |         |
+------+------+             |         |
| Local Network (192.168.1.0/24)     |
|                                    |
|  +---------------------+           |
|  | Local Client       |-----------+
|  | Access via         |
|  | nextcloud.mylab.local, etc. |
|  +---------------------+ 

Explanation of the ASCII Diagram:

  • Physical Machine 1 contains VM 1, VM 2, and the NFS server.

  • Physical Machine 2 contains VM 3.

  • All VMs connect to the Local Network (bridged, same subnet).

  • The NFS Server on Physical Machine 1 provides storage to all VMs.

  • The Local Client connects to VM 1 (master) to access applications via Traefik ingress.


How to Generate an Image

Since you requested a diagram and I can’t generate it directly:

  • Option 1: Would you like me to confirm with you to generate an image using an external tool after refining this description? I’d need your confirmation to proceed with that step.

  • Option 2: Copy the ASCII or description into a tool like draw.io or Mermaid Live Editor (using Mermaid syntax below) to render it visually.

Mermaid Syntax Example (for Tools Supporting Mermaid):

mermaid

graph TD A[Physical Machine 1] --> B[VM 1<br>Master<br>192.168.1.100<br>k3s Server<br>Traefik] A --> C[VM 2<br>Worker<br>192.168.1.101<br>k3s Agent] A --> D[NFS Server<br>192.168.1.10<br>/path/to/share] E[Physical Machine 2] --> F[VM 3<br>Worker<br>192.168.1.102<br>k3s Agent] B --> G[Local Network<br>192.168.1.0/24] C --> G F --> G B --> D C --> D F --> D H[Local Client] --> G

Paste this into Mermaid Live Editor to see a basic flowchart.

This page was last edited on 2025-03-08 10:48

Powered by Wiki|Docs

This page was last edited on 2025-03-08 10:48

Mac
To whom it may concern

Powered by Wiki|Docs