| 1 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720"> |
| 2 | <defs> |
| 3 | <pattern id="bpGridMajor" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse" data-pptx-pattern="lgGrid"> |
| 4 | <rect width="40" height="40" fill="#0E2A47"/> |
| 5 | <path d="M 40 0 L 0 0 0 40" fill="none" stroke="#2D4A6B" stroke-width="0.6"/> |
| 6 | </pattern> |
| 7 | <pattern id="bpGridMinor" x="0" y="0" width="8" height="8" patternUnits="userSpaceOnUse" data-pptx-pattern="smGrid"> |
| 8 | <rect width="8" height="8" fill="#0E2A47"/> |
| 9 | <path d="M 8 0 L 0 0 0 8" fill="none" stroke="#1A3A5C" stroke-width="0.3"/> |
| 10 | </pattern> |
| 11 | <marker id="arrowCyan2" markerWidth="10" markerHeight="10" refX="9" refY="5" orient="auto"> |
| 12 | <path d="M 0,0 L 10,5 L 0,10 Z" fill="#5BA3E0"/> |
| 13 | </marker> |
| 14 | </defs> |
| 15 | |
| 16 | <g id="bg"> |
| 17 | <rect width="1280" height="720" fill="#0E2A47"/> |
| 18 | <rect width="1280" height="720" fill="url(#bpGridMinor)" opacity="0.4"/> |
| 19 | <rect width="1280" height="720" fill="url(#bpGridMajor)" opacity="0.6"/> |
| 20 | </g> |
| 21 | |
| 22 | <g id="header"> |
| 23 | <text x="60" y="42" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="30" font-weight="bold" fill="#F0F4F8">Storage: PV / PVC / StorageClass</text> |
| 24 | <text x="1220" y="42" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#A0B8D0" text-anchor="end">P07 / 10</text> |
| 25 | <line x1="60" y1="58" x2="1220" y2="58" stroke="#2D4A6B" stroke-width="0.5"/> |
| 26 | <text x="60" y="78" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="13" fill="#6B85A3">PERSISTENT STORAGE IS A THREE-RESOURCE CONTRACT · POD CLAIM + ADMIN PROVISIONER</text> |
| 27 | </g> |
| 28 | |
| 29 | <g id="stack-diagram"> |
| 30 | <text x="80" y="120" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#6B85A3">CONSUMER STACK · TOP → BOTTOM</text> |
| 31 | |
| 32 | <g id="layer-pod"> |
| 33 | <rect x="80" y="140" width="500" height="60" fill="#0E2A47" stroke="#7FD99F" stroke-width="1.5"/> |
| 34 | <rect x="80" y="140" width="6" height="60" fill="#7FD99F"/> |
| 35 | <!-- icon: tabler-outline/cube --> |
| 36 | <g transform="translate(100.0, 153.0) scale(1.3333333333333333)" fill="none" stroke="#7FD99F" stroke-width="1.5"> |
| 37 | <path d="M21 16.008v-8.018a1.98 1.98 0 0 0 -1 -1.717l-7 -4.008a2.016 2.016 0 0 0 -2 0l-7 4.008c-.619 .355 -1 1.01 -1 1.718v8.018c0 .709 .381 1.363 1 1.717l7 4.008a2.016 2.016 0 0 0 2 0l7 -4.008c.619 -.355 1 -1.01 1 -1.718" /> |
| 38 | <path d="M12 22v-10" /> |
| 39 | <path d="M12 12l8.73 -5.04" /> |
| 40 | <path d="M3.27 6.96l8.73 5.04" /> |
| 41 | </g> |
| 42 | <text x="145" y="167" font-family="Consolas, 'Courier New', monospace" font-size="14" fill="#7FD99F" font-weight="bold">Pod</text> |
| 43 | <text x="180" y="167" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— consumes storage via</text> |
| 44 | <text x="145" y="187" font-family="Consolas, 'Courier New', monospace" font-size="12" fill="#F0F4F8">volumes[].persistentVolumeClaim.claimName</text> |
| 45 | </g> |
| 46 | |
| 47 | <line x1="180" y1="200" x2="180" y2="225" stroke="#5BA3E0" stroke-width="1.5" marker-end="url(#arrowCyan2)"/> |
| 48 | <text x="195" y="218" font-family="Consolas, 'Courier New', monospace" font-size="10" fill="#A0B8D0">claims</text> |
| 49 | |
| 50 | <g id="layer-pvc"> |
| 51 | <rect x="80" y="232" width="500" height="80" fill="#0E2A47" stroke="#FFB627" stroke-width="1.8"/> |
| 52 | <rect x="80" y="232" width="6" height="80" fill="#FFB627"/> |
| 53 | <!-- icon: tabler-outline/contract --> |
| 54 | <g transform="translate(100.0, 248.0) scale(1.25)" fill="none" stroke="#FFB627" stroke-width="1.5"> |
| 55 | <path d="M8 21h-2a3 3 0 0 1 -3 -3v-1h5.5" /> |
| 56 | <path d="M17 8.5v-3.5a2 2 0 1 1 2 2h-2" /> |
| 57 | <path d="M19 3h-11a3 3 0 0 0 -3 3v11" /> |
| 58 | <path d="M9 7h4" /> |
| 59 | <path d="M9 11h4" /> |
| 60 | <path d="M18.42 12.61a2.1 2.1 0 0 1 2.97 2.97l-6.39 6.42h-3v-3l6.42 -6.39" /> |
| 61 | </g> |
| 62 | <text x="145" y="263" font-family="Consolas, 'Courier New', monospace" font-size="14" fill="#FFB627" font-weight="bold">PersistentVolumeClaim</text> |
| 63 | <text x="362" y="263" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— pvc — namespaced</text> |
| 64 | <text x="145" y="284" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#F0F4F8">request: size + accessModes + storageClassName</text> |
| 65 | <text x="145" y="301" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#A0B8D0">like a Pod requesting CPU/RAM — but for disk</text> |
| 66 | </g> |
| 67 | |
| 68 | <line x1="180" y1="312" x2="180" y2="337" stroke="#5BA3E0" stroke-width="1.5" marker-end="url(#arrowCyan2)"/> |
| 69 | <text x="195" y="330" font-family="Consolas, 'Courier New', monospace" font-size="10" fill="#A0B8D0">binds 1:1</text> |
| 70 | |
| 71 | <g id="layer-pv"> |
| 72 | <rect x="80" y="344" width="500" height="80" fill="#0E2A47" stroke="#5BA3E0" stroke-width="1.5"/> |
| 73 | <rect x="80" y="344" width="6" height="80" fill="#5BA3E0"/> |
| 74 | <!-- icon: tabler-outline/device-floppy --> |
| 75 | <g transform="translate(100.0, 360.0) scale(1.25)" fill="none" stroke="#5BA3E0" stroke-width="1.5"> |
| 76 | <path d="M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2" /> |
| 77 | <path d="M10 14a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /> |
| 78 | <path d="M14 4l0 4l-6 0l0 -4" /> |
| 79 | </g> |
| 80 | <text x="145" y="375" font-family="Consolas, 'Courier New', monospace" font-size="14" fill="#5BA3E0" font-weight="bold">PersistentVolume</text> |
| 81 | <text x="316" y="375" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— pv — cluster-scoped</text> |
| 82 | <text x="145" y="396" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#F0F4F8">a concrete storage resource (NFS / iSCSI / cloud disk)</text> |
| 83 | <text x="145" y="413" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#A0B8D0">lifecycle independent of any Pod</text> |
| 84 | </g> |
| 85 | |
| 86 | <line x1="180" y1="424" x2="180" y2="449" stroke="#5BA3E0" stroke-width="1" stroke-dasharray="3 3" marker-end="url(#arrowCyan2)"/> |
| 87 | <text x="195" y="442" font-family="Consolas, 'Courier New', monospace" font-size="10" fill="#A0B8D0">backing media</text> |
| 88 | |
| 89 | <g id="layer-backend"> |
| 90 | <rect x="80" y="456" width="500" height="60" fill="#0E2A47" stroke="#3E7AB8" stroke-width="1.2" stroke-dasharray="5 3"/> |
| 91 | <rect x="80" y="456" width="6" height="60" fill="#3E7AB8"/> |
| 92 | <!-- icon: tabler-outline/server --> |
| 93 | <g transform="translate(100.0, 468.0) scale(1.25)" fill="none" stroke="#3E7AB8" stroke-width="1.5"> |
| 94 | <path d="M3 7a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3" /> |
| 95 | <path d="M3 15a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3l0 -2" /> |
| 96 | <path d="M7 8l0 .01" /> |
| 97 | <path d="M7 16l0 .01" /> |
| 98 | </g> |
| 99 | <text x="145" y="483" font-family="Consolas, 'Courier New', monospace" font-size="13" fill="#3E7AB8" font-weight="bold">Storage backend</text> |
| 100 | <text x="145" y="504" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">EBS · Persistent Disk · Ceph RBD · NFS · iSCSI · LonghornFS</text> |
| 101 | </g> |
| 102 | </g> |
| 103 | |
| 104 | <g id="provisioner-spine"> |
| 105 | <text x="640" y="120" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#6B85A3">PROVISIONER SPINE · ADMIN SIDE</text> |
| 106 | <rect x="640" y="140" width="540" height="376" fill="#1A3A5C" fill-opacity="0.3" stroke="#3E7AB8" stroke-width="0.6" stroke-dasharray="4 4"/> |
| 107 | |
| 108 | <g id="storage-class"> |
| 109 | <rect x="660" y="160" width="500" height="100" fill="#0E2A47" stroke="#FFB627" stroke-width="1.5"/> |
| 110 | <rect x="660" y="160" width="6" height="100" fill="#FFB627"/> |
| 111 | <!-- icon: tabler-outline/template --> |
| 112 | <g transform="translate(680.0, 178.0) scale(1.25)" fill="none" stroke="#FFB627" stroke-width="1.5"> |
| 113 | <path d="M4 5a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1l0 -2" /> |
| 114 | <path d="M4 13a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -6" /> |
| 115 | <path d="M14 12l6 0" /> |
| 116 | <path d="M14 16l6 0" /> |
| 117 | <path d="M14 20l6 0" /> |
| 118 | </g> |
| 119 | <text x="722" y="193" font-family="Consolas, 'Courier New', monospace" font-size="14" fill="#FFB627" font-weight="bold">StorageClass</text> |
| 120 | <text x="862" y="193" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— admin recipe</text> |
| 121 | <text x="722" y="214" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#F0F4F8">defines: provisioner + parameters + reclaimPolicy</text> |
| 122 | <text x="722" y="231" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#F0F4F8">PVC requests by name → PV is created on demand</text> |
| 123 | <text x="722" y="251" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#A0B8D0">enables <tspan fill="#FFB627" font-weight="bold">dynamic provisioning</tspan> — no static PV setup</text> |
| 124 | </g> |
| 125 | |
| 126 | <g id="csi-driver"> |
| 127 | <rect x="660" y="280" width="500" height="80" fill="#0E2A47" stroke="#5BA3E0" stroke-width="1.3"/> |
| 128 | <rect x="660" y="280" width="6" height="80" fill="#5BA3E0"/> |
| 129 | <!-- icon: tabler-outline/plug-connected --> |
| 130 | <g transform="translate(680.0, 296.0) scale(1.25)" fill="none" stroke="#5BA3E0" stroke-width="1.5"> |
| 131 | <path d="M7 12l5 5l-1.5 1.5a3.536 3.536 0 1 1 -5 -5l1.5 -1.5" /> |
| 132 | <path d="M17 12l-5 -5l1.5 -1.5a3.536 3.536 0 1 1 5 5l-1.5 1.5" /> |
| 133 | <path d="M3 21l2.5 -2.5" /> |
| 134 | <path d="M18.5 5.5l2.5 -2.5" /> |
| 135 | <path d="M10 11l-2 2" /> |
| 136 | <path d="M13 14l-2 2" /> |
| 137 | </g> |
| 138 | <text x="722" y="311" font-family="Consolas, 'Courier New', monospace" font-size="14" fill="#5BA3E0" font-weight="bold">CSI Driver</text> |
| 139 | <text x="832" y="311" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— Container Storage Interface</text> |
| 140 | <text x="722" y="333" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#F0F4F8">vendor plugin that creates / attaches / mounts volumes</text> |
| 141 | <text x="722" y="349" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#A0B8D0">replaces deprecated in-tree storage plugins</text> |
| 142 | </g> |
| 143 | |
| 144 | <g id="access-modes"> |
| 145 | <text x="660" y="392" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#FFB627">▼ ACCESS MODES</text> |
| 146 | <rect x="660" y="402" width="120" height="40" fill="none" stroke="#5BA3E0" stroke-width="1"/> |
| 147 | <text x="720" y="423" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#F0F4F8" text-anchor="middle" font-weight="bold">RWO</text> |
| 148 | <text x="720" y="436" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="9" fill="#A0B8D0" text-anchor="middle">1 node, R/W</text> |
| 149 | <rect x="785" y="402" width="120" height="40" fill="none" stroke="#5BA3E0" stroke-width="1"/> |
| 150 | <text x="845" y="423" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#F0F4F8" text-anchor="middle" font-weight="bold">ROX</text> |
| 151 | <text x="845" y="436" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="9" fill="#A0B8D0" text-anchor="middle">many nodes, RO</text> |
| 152 | <rect x="910" y="402" width="120" height="40" fill="none" stroke="#5BA3E0" stroke-width="1"/> |
| 153 | <text x="970" y="423" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#F0F4F8" text-anchor="middle" font-weight="bold">RWX</text> |
| 154 | <text x="970" y="436" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="9" fill="#A0B8D0" text-anchor="middle">many nodes, R/W</text> |
| 155 | <rect x="1035" y="402" width="120" height="40" fill="none" stroke="#FFB627" stroke-width="1"/> |
| 156 | <text x="1095" y="423" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#FFB627" text-anchor="middle" font-weight="bold">RWOP</text> |
| 157 | <text x="1095" y="436" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="9" fill="#A0B8D0" text-anchor="middle">1 pod, R/W</text> |
| 158 | </g> |
| 159 | |
| 160 | <g id="reclaim"> |
| 161 | <text x="660" y="476" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#FFB627">▼ RECLAIM POLICY</text> |
| 162 | <rect x="660" y="486" width="160" height="22" fill="none" stroke="#5BA3E0" stroke-width="1"/> |
| 163 | <text x="740" y="501" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#F0F4F8" text-anchor="middle">Retain</text> |
| 164 | <rect x="830" y="486" width="160" height="22" fill="none" stroke="#5BA3E0" stroke-width="1"/> |
| 165 | <text x="910" y="501" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#F0F4F8" text-anchor="middle">Delete (default)</text> |
| 166 | <rect x="1000" y="486" width="160" height="22" fill="none" stroke="#3E7AB8" stroke-width="1" stroke-dasharray="3 3"/> |
| 167 | <text x="1080" y="501" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#6B85A3" text-anchor="middle">Recycle ✗ deprecated</text> |
| 168 | </g> |
| 169 | </g> |
| 170 | |
| 171 | <g id="provisioning-mode"> |
| 172 | <rect x="80" y="540" width="1100" height="100" fill="#1A3A5C" fill-opacity="0.4" stroke="#5BA3E0" stroke-width="1"/> |
| 173 | <text x="100" y="565" font-family="Consolas, 'Courier New', monospace" font-size="13" fill="#5BA3E0" font-weight="bold">PROVISIONING MODES</text> |
| 174 | |
| 175 | <rect x="100" y="580" width="500" height="50" fill="none" stroke="#5BA3E0" stroke-width="0.8"/> |
| 176 | <text x="116" y="600" font-family="Consolas, 'Courier New', monospace" font-size="12" fill="#5BA3E0" font-weight="bold">STATIC</text> |
| 177 | <text x="180" y="600" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— admin creates PVs in advance</text> |
| 178 | <text x="116" y="618" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#F0F4F8">PVC matches → controller binds 1:1 via ClaimRef</text> |
| 179 | |
| 180 | <rect x="620" y="580" width="540" height="50" fill="none" stroke="#FFB627" stroke-width="1"/> |
| 181 | <text x="636" y="600" font-family="Consolas, 'Courier New', monospace" font-size="12" fill="#FFB627" font-weight="bold">DYNAMIC</text> |
| 182 | <text x="708" y="600" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— StorageClass provisions on demand</text> |
| 183 | <text x="636" y="618" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#F0F4F8">requires <tspan font-family="Consolas, 'Courier New', monospace" fill="#FFB627">DefaultStorageClass</tspan> admission controller</text> |
| 184 | </g> |
| 185 | |
| 186 | <g id="footer"> |
| 187 | <line x1="60" y1="680" x2="1220" y2="680" stroke="#2D4A6B" stroke-width="0.5"/> |
| 188 | <text x="60" y="700" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#6B85A3">K8S-ARCH-2026 · DRAWING 07 OF 10 · STORAGE</text> |
| 189 | <text x="1220" y="700" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#6B85A3" text-anchor="end">SHEET 07 OF 10</text> |
| 190 | </g> |
| 191 | </svg> |
| 192 |