# Educational Kubernetes view. All objects are illustrative.
# Controller ownership relationships; not application request traffic.
# 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: deployment
        shape: rectangle
        label: "Deployment"
        geom: { w: 160, d: 70, h: 20 }
        offset: { wx: 120, wy: 0 }
        style:
          palette: { top: "#FFFFFF", left: "#E2E8F0", right: "#E2E8F0" }
          stroke: { color: "#6D28D9", width: 2 }
      - id: replicaset
        shape: rectangle
        label: "ReplicaSet"
        geom: { w: 160, d: 70, h: 20 }
        offset: { wx: 120, wy: 150 }
        style:
          palette: { top: "#FFFFFF", left: "#E2E8F0", right: "#E2E8F0" }
          stroke: { color: "#6D28D9", 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: "#6D28D9", 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: "#6D28D9", width: 2 }
    connectors:
      - { from: deployment, to: replicaset, routing: orthogonal, arrow: triangle, stroke: { color: "#6D28D9", width: 2.5 } }
      - { from: replicaset, to: pod_a, routing: orthogonal, arrow: triangle, stroke: { color: "#6D28D9", width: 2.5 } }
      - { from: replicaset, to: pod_b, routing: orthogonal, arrow: triangle, stroke: { color: "#6D28D9", width: 2.5 } }
