# Educational Kubernetes view. All objects are illustrative.
# Logical requests to a selected backend; not packet hops or broadcast.
# Pods A and B refer to the same conceptual replicas in both views.
canvas: { projection: iso, background: "#F7F8F5", padding: 32 }
nodes:
  scene:
    shape: composite
    parts:
      - id: client
        shape: rectangle
        label: "Client"
        geom: { w: 160, d: 70, h: 20 }
        offset: { wx: 120, wy: 0 }
        style:
          palette: { top: "#FFFFFF", left: "#E2E8F0", right: "#E2E8F0" }
          stroke: { color: "#0F766E", width: 2 }
      - id: service
        shape: rectangle
        label: "Service"
        geom: { w: 160, d: 70, h: 20 }
        offset: { wx: 120, wy: 150 }
        style:
          palette: { top: "#FFFFFF", left: "#E2E8F0", right: "#E2E8F0" }
          stroke: { color: "#0F766E", width: 2 }
      - id: pod_a
        shape: rectangle
        label: "Pod A"
        geom: { w: 160, d: 70, h: 20 }
        offset: { wx: 0, wy: 300 }
        style:
          palette: { top: "#FFFFFF", left: "#E2E8F0", right: "#E2E8F0" }
          stroke: { color: "#0F766E", width: 2 }
      - id: pod_b
        shape: rectangle
        label: "Pod B"
        geom: { w: 160, d: 70, h: 20 }
        offset: { wx: 240, wy: 300 }
        style:
          palette: { top: "#FFFFFF", left: "#E2E8F0", right: "#E2E8F0" }
          stroke: { color: "#0F766E", width: 2 }
    connectors:
      - { from: client, to: service, routing: orthogonal, arrow: triangle, stroke: { color: "#0F766E", width: 2.5 } }
      - { from: service, to: pod_a, routing: orthogonal, arrow: triangle, stroke: { color: "#0F766E", width: 2.5 } }
      - { from: service, to: pod_b, routing: orthogonal, arrow: triangle, stroke: { color: "#0F766E", width: 2.5 } }
