| 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 | <use data-icon="tabler-outline/cube" x="100" y="153" width="32" height="32" fill="#7FD99F" stroke-width="1.5"/> |
| 36 | <text x="145" y="167" font-family="Consolas, 'Courier New', monospace" font-size="14" fill="#7FD99F" font-weight="bold">Pod</text> |
| 37 | <text x="180" y="167" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— consumes storage via</text> |
| 38 | <text x="145" y="187" font-family="Consolas, 'Courier New', monospace" font-size="12" fill="#F0F4F8">volumes[].persistentVolumeClaim.claimName</text> |
| 39 | </g> |
| 40 | |
| 41 | <line x1="180" y1="200" x2="180" y2="225" stroke="#5BA3E0" stroke-width="1.5" marker-end="url(#arrowCyan2)"/> |
| 42 | <text x="195" y="218" font-family="Consolas, 'Courier New', monospace" font-size="10" fill="#A0B8D0">claims</text> |
| 43 | |
| 44 | <g id="layer-pvc"> |
| 45 | <rect x="80" y="232" width="500" height="80" fill="#0E2A47" stroke="#FFB627" stroke-width="1.8"/> |
| 46 | <rect x="80" y="232" width="6" height="80" fill="#FFB627"/> |
| 47 | <use data-icon="tabler-outline/contract" x="100" y="248" width="30" height="30" fill="#FFB627" stroke-width="1.5"/> |
| 48 | <text x="145" y="263" font-family="Consolas, 'Courier New', monospace" font-size="14" fill="#FFB627" font-weight="bold">PersistentVolumeClaim</text> |
| 49 | <text x="362" y="263" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— pvc — namespaced</text> |
| 50 | <text x="145" y="284" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#F0F4F8">request: size + accessModes + storageClassName</text> |
| 51 | <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> |
| 52 | </g> |
| 53 | |
| 54 | <line x1="180" y1="312" x2="180" y2="337" stroke="#5BA3E0" stroke-width="1.5" marker-end="url(#arrowCyan2)"/> |
| 55 | <text x="195" y="330" font-family="Consolas, 'Courier New', monospace" font-size="10" fill="#A0B8D0">binds 1:1</text> |
| 56 | |
| 57 | <g id="layer-pv"> |
| 58 | <rect x="80" y="344" width="500" height="80" fill="#0E2A47" stroke="#5BA3E0" stroke-width="1.5"/> |
| 59 | <rect x="80" y="344" width="6" height="80" fill="#5BA3E0"/> |
| 60 | <use data-icon="tabler-outline/device-floppy" x="100" y="360" width="30" height="30" fill="#5BA3E0" stroke-width="1.5"/> |
| 61 | <text x="145" y="375" font-family="Consolas, 'Courier New', monospace" font-size="14" fill="#5BA3E0" font-weight="bold">PersistentVolume</text> |
| 62 | <text x="316" y="375" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— pv — cluster-scoped</text> |
| 63 | <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> |
| 64 | <text x="145" y="413" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#A0B8D0">lifecycle independent of any Pod</text> |
| 65 | </g> |
| 66 | |
| 67 | <line x1="180" y1="424" x2="180" y2="449" stroke="#5BA3E0" stroke-width="1" stroke-dasharray="3 3" marker-end="url(#arrowCyan2)"/> |
| 68 | <text x="195" y="442" font-family="Consolas, 'Courier New', monospace" font-size="10" fill="#A0B8D0">backing media</text> |
| 69 | |
| 70 | <g id="layer-backend"> |
| 71 | <rect x="80" y="456" width="500" height="60" fill="#0E2A47" stroke="#3E7AB8" stroke-width="1.2" stroke-dasharray="5 3"/> |
| 72 | <rect x="80" y="456" width="6" height="60" fill="#3E7AB8"/> |
| 73 | <use data-icon="tabler-outline/server" x="100" y="468" width="30" height="30" fill="#3E7AB8" stroke-width="1.5"/> |
| 74 | <text x="145" y="483" font-family="Consolas, 'Courier New', monospace" font-size="13" fill="#3E7AB8" font-weight="bold">Storage backend</text> |
| 75 | <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> |
| 76 | </g> |
| 77 | </g> |
| 78 | |
| 79 | <g id="provisioner-spine"> |
| 80 | <text x="640" y="120" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#6B85A3">PROVISIONER SPINE · ADMIN SIDE</text> |
| 81 | <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"/> |
| 82 | |
| 83 | <g id="storage-class"> |
| 84 | <rect x="660" y="160" width="500" height="100" fill="#0E2A47" stroke="#FFB627" stroke-width="1.5"/> |
| 85 | <rect x="660" y="160" width="6" height="100" fill="#FFB627"/> |
| 86 | <use data-icon="tabler-outline/template" x="680" y="178" width="30" height="30" fill="#FFB627" stroke-width="1.5"/> |
| 87 | <text x="722" y="193" font-family="Consolas, 'Courier New', monospace" font-size="14" fill="#FFB627" font-weight="bold">StorageClass</text> |
| 88 | <text x="862" y="193" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— admin recipe</text> |
| 89 | <text x="722" y="214" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#F0F4F8">defines: provisioner + parameters + reclaimPolicy</text> |
| 90 | <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> |
| 91 | <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> |
| 92 | </g> |
| 93 | |
| 94 | <g id="csi-driver"> |
| 95 | <rect x="660" y="280" width="500" height="80" fill="#0E2A47" stroke="#5BA3E0" stroke-width="1.3"/> |
| 96 | <rect x="660" y="280" width="6" height="80" fill="#5BA3E0"/> |
| 97 | <use data-icon="tabler-outline/plug-connected" x="680" y="296" width="30" height="30" fill="#5BA3E0" stroke-width="1.5"/> |
| 98 | <text x="722" y="311" font-family="Consolas, 'Courier New', monospace" font-size="14" fill="#5BA3E0" font-weight="bold">CSI Driver</text> |
| 99 | <text x="832" y="311" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— Container Storage Interface</text> |
| 100 | <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> |
| 101 | <text x="722" y="349" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#A0B8D0">replaces deprecated in-tree storage plugins</text> |
| 102 | </g> |
| 103 | |
| 104 | <g id="access-modes"> |
| 105 | <text x="660" y="392" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#FFB627">▼ ACCESS MODES</text> |
| 106 | <rect x="660" y="402" width="120" height="40" fill="none" stroke="#5BA3E0" stroke-width="1"/> |
| 107 | <text x="720" y="423" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#F0F4F8" text-anchor="middle" font-weight="bold">RWO</text> |
| 108 | <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> |
| 109 | <rect x="785" y="402" width="120" height="40" fill="none" stroke="#5BA3E0" stroke-width="1"/> |
| 110 | <text x="845" y="423" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#F0F4F8" text-anchor="middle" font-weight="bold">ROX</text> |
| 111 | <text x="845" y="436" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="9" fill="#A0B8D0" text-anchor="middle">many nodes, RO</text> |
| 112 | <rect x="910" y="402" width="120" height="40" fill="none" stroke="#5BA3E0" stroke-width="1"/> |
| 113 | <text x="970" y="423" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#F0F4F8" text-anchor="middle" font-weight="bold">RWX</text> |
| 114 | <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> |
| 115 | <rect x="1035" y="402" width="120" height="40" fill="none" stroke="#FFB627" stroke-width="1"/> |
| 116 | <text x="1095" y="423" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#FFB627" text-anchor="middle" font-weight="bold">RWOP</text> |
| 117 | <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> |
| 118 | </g> |
| 119 | |
| 120 | <g id="reclaim"> |
| 121 | <text x="660" y="476" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#FFB627">▼ RECLAIM POLICY</text> |
| 122 | <rect x="660" y="486" width="160" height="22" fill="none" stroke="#5BA3E0" stroke-width="1"/> |
| 123 | <text x="740" y="501" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#F0F4F8" text-anchor="middle">Retain</text> |
| 124 | <rect x="830" y="486" width="160" height="22" fill="none" stroke="#5BA3E0" stroke-width="1"/> |
| 125 | <text x="910" y="501" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#F0F4F8" text-anchor="middle">Delete (default)</text> |
| 126 | <rect x="1000" y="486" width="160" height="22" fill="none" stroke="#3E7AB8" stroke-width="1" stroke-dasharray="3 3"/> |
| 127 | <text x="1080" y="501" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#6B85A3" text-anchor="middle">Recycle ✗ deprecated</text> |
| 128 | </g> |
| 129 | </g> |
| 130 | |
| 131 | <g id="provisioning-mode"> |
| 132 | <rect x="80" y="540" width="1100" height="100" fill="#1A3A5C" fill-opacity="0.4" stroke="#5BA3E0" stroke-width="1"/> |
| 133 | <text x="100" y="565" font-family="Consolas, 'Courier New', monospace" font-size="13" fill="#5BA3E0" font-weight="bold">PROVISIONING MODES</text> |
| 134 | |
| 135 | <rect x="100" y="580" width="500" height="50" fill="none" stroke="#5BA3E0" stroke-width="0.8"/> |
| 136 | <text x="116" y="600" font-family="Consolas, 'Courier New', monospace" font-size="12" fill="#5BA3E0" font-weight="bold">STATIC</text> |
| 137 | <text x="180" y="600" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— admin creates PVs in advance</text> |
| 138 | <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> |
| 139 | |
| 140 | <rect x="620" y="580" width="540" height="50" fill="none" stroke="#FFB627" stroke-width="1"/> |
| 141 | <text x="636" y="600" font-family="Consolas, 'Courier New', monospace" font-size="12" fill="#FFB627" font-weight="bold">DYNAMIC</text> |
| 142 | <text x="708" y="600" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="11" fill="#A0B8D0">— StorageClass provisions on demand</text> |
| 143 | <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> |
| 144 | </g> |
| 145 | |
| 146 | <g id="footer"> |
| 147 | <line x1="60" y1="680" x2="1220" y2="680" stroke="#2D4A6B" stroke-width="0.5"/> |
| 148 | <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> |
| 149 | <text x="1220" y="700" font-family="Consolas, 'Courier New', monospace" font-size="11" fill="#6B85A3" text-anchor="end">SHEET 07 OF 10</text> |
| 150 | </g> |
| 151 | </svg> |
| 152 |