<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="675" viewBox="0 0 1200 675" preserveAspectRatio="xMidYMid meet" role="img" aria-labelledby="title desc" data-image-type="troubleshooting-tree">
<title id="title">PVC扩容失败分层排查决策树</title><desc id="desc">image_type=故障排查决策树；target_section=先按五步缩小影响范围；用途=按PVC events、StorageClass、CSI、PV、文件系统和Pod挂载分层定位PVC扩容失败；关键术语=PVC扩容失败、PVC events、StorageClass、CSI、PV、文件系统、Pod挂载；reader_task=先定位失败层次，避免误删PVC或盲目重启。visual_precheck=diamond_connectors_stop_at_gap,no_transform_layout,text_inside_diamond_and_cards,foreground_spacing_ge_24.</desc>
<defs><marker id="a" markerWidth="12" markerHeight="12" refX="10" refY="6" orient="auto"><path d="M2,2 L10,6 L2,10 Z" fill="#334155"/></marker><style><![CDATA[text{font-family:system-ui,Arial,Helvetica,"Microsoft YaHei","PingFang SC",sans-serif;fill:#0f172a}.h{font-size:20px;font-weight:700}.b{font-size:16px}.s{font-size:14px;fill:#475569}.q{fill:#fff7ed;stroke:#ea580c;stroke-width:2}.step{fill:#fff;stroke:#94a3b8;stroke-width:2}.risk{fill:#fee2e2;stroke:#ef4444;stroke-width:2}.ok{fill:#dcfce7;stroke:#16a34a;stroke-width:2}.line{stroke:#334155;stroke-width:2.6;fill:none;marker-end:url(#a)}]]></style></defs>
<rect width="1200" height="675" fill="#f8fafc"/><text x="600" y="62" text-anchor="middle" class="h">先判断卡在哪一层，再选择低风险动作</text>
<polygon class="q" points="600,105 746,170 600,235 454,170"/><text x="600" y="162" text-anchor="middle" class="h">请求容量变了吗</text><text x="600" y="194" text-anchor="middle" class="s">PVC spec是否已更新</text>
<rect class="risk" x="118" y="285" width="226" height="104" rx="18"/><text x="231" y="321" text-anchor="middle" class="h">声明层</text><text x="231" y="353" text-anchor="middle" class="b">变更未提交</text><text x="231" y="379" text-anchor="middle" class="s">或被策略拦截</text>
<polygon class="q" points="600,285 742,350 600,415 458,350"/><text x="600" y="342" text-anchor="middle" class="h">StorageClass</text><text x="600" y="374" text-anchor="middle" class="s">允许扩容吗</text>
<rect class="risk" x="856" y="285" width="226" height="104" rx="18"/><text x="969" y="321" text-anchor="middle" class="h">准入层</text><text x="969" y="353" text-anchor="middle" class="b">allowVolumeExpansion</text><text x="969" y="379" text-anchor="middle" class="s">未开启或类不匹配</text>
<rect class="step" x="120" y="500" width="218" height="104" rx="18"/><text x="229" y="535" text-anchor="middle" class="h">控制器层</text><text x="229" y="566" text-anchor="middle" class="b">CSI / resizer</text><text x="229" y="592" text-anchor="middle" class="s">日志与权限错误</text>
<rect class="step" x="376" y="500" width="218" height="104" rx="18"/><text x="485" y="535" text-anchor="middle" class="h">后端层</text><text x="485" y="566" text-anchor="middle" class="b">PV与存储池</text><text x="485" y="592" text-anchor="middle" class="s">配额或卷能力</text>
<rect class="step" x="632" y="500" width="218" height="104" rx="18"/><text x="741" y="535" text-anchor="middle" class="h">节点层</text><text x="741" y="566" text-anchor="middle" class="b">文件系统刷新</text><text x="741" y="592" text-anchor="middle" class="s">等待或需重挂载</text>
<rect class="ok" x="888" y="500" width="218" height="104" rx="18"/><text x="997" y="535" text-anchor="middle" class="h">应用层</text><text x="997" y="566" text-anchor="middle" class="b">Pod内df与写入</text><text x="997" y="592" text-anchor="middle" class="s">确认业务可用</text>
<path class="line" d="M450 182 C394 214,330 244,276 270"/><path class="line" d="M600 249 V271"/><path class="line" d="M746 350 C786 332,815 322,842 318"/>
<path class="line" d="M552 423 C450 452,330 462,238 486"/><path class="line" d="M588 429 C545 456,510 468,492 486"/><path class="line" d="M626 429 C672 458,714 472,735 486"/><path class="line" d="M668 421 C770 452,895 462,985 486"/>
</svg>
