<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="680" viewBox="0 0 1200 680">
  <rect width="1200" height="680" fill="#f8fafc"/>
  <text x="60" y="72" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="34" font-weight="700" fill="#0f172a">Kubernetes部署流程示意图</text>
  <text x="60" y="112" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="18" fill="#475569">从代码、镜像到Deployment、Pod和Service的典型发布路径</text>

  <defs>
    <marker id="arrow" markerWidth="12" markerHeight="12" refX="10" refY="6" orient="auto">
      <path d="M2,2 L10,6 L2,10 Z" fill="#2563eb"/>
    </marker>
  </defs>

  <g font-family="Arial, 'Microsoft YaHei', sans-serif">
    <rect x="70" y="220" width="160" height="92" rx="18" fill="#dbeafe" stroke="#2563eb" stroke-width="2"/>
    <text x="150" y="258" text-anchor="middle" font-size="22" font-weight="700" fill="#1e3a8a">代码提交</text>
    <text x="150" y="288" text-anchor="middle" font-size="16" fill="#1e40af">Git / 仓库</text>

    <line x1="240" y1="266" x2="320" y2="266" stroke="#2563eb" stroke-width="3" marker-end="url(#arrow)"/>

    <rect x="330" y="220" width="160" height="92" rx="18" fill="#e0f2fe" stroke="#0284c7" stroke-width="2"/>
    <text x="410" y="258" text-anchor="middle" font-size="22" font-weight="700" fill="#075985">镜像构建</text>
    <text x="410" y="288" text-anchor="middle" font-size="16" fill="#0369a1">Dockerfile</text>

    <line x1="500" y1="266" x2="580" y2="266" stroke="#2563eb" stroke-width="3" marker-end="url(#arrow)"/>

    <rect x="590" y="220" width="160" height="92" rx="18" fill="#ecfeff" stroke="#0891b2" stroke-width="2"/>
    <text x="670" y="258" text-anchor="middle" font-size="22" font-weight="700" fill="#155e75">镜像仓库</text>
    <text x="670" y="288" text-anchor="middle" font-size="16" fill="#0e7490">Registry</text>

    <line x1="760" y1="266" x2="840" y2="266" stroke="#2563eb" stroke-width="3" marker-end="url(#arrow)"/>

    <rect x="850" y="220" width="170" height="92" rx="18" fill="#eef2ff" stroke="#4f46e5" stroke-width="2"/>
    <text x="935" y="258" text-anchor="middle" font-size="22" font-weight="700" fill="#3730a3">Deployment</text>
    <text x="935" y="288" text-anchor="middle" font-size="16" fill="#4338ca">声明期望状态</text>

    <line x1="935" y1="322" x2="935" y2="395" stroke="#2563eb" stroke-width="3" marker-end="url(#arrow)"/>

    <rect x="760" y="410" width="350" height="120" rx="22" fill="#ffffff" stroke="#94a3b8" stroke-width="2"/>
    <text x="935" y="445" text-anchor="middle" font-size="22" font-weight="700" fill="#0f172a">Pod副本</text>
    <circle cx="845" cy="485" r="28" fill="#bfdbfe" stroke="#2563eb" stroke-width="2"/>
    <text x="845" y="492" text-anchor="middle" font-size="15" fill="#1e3a8a">Pod</text>
    <circle cx="935" cy="485" r="28" fill="#bfdbfe" stroke="#2563eb" stroke-width="2"/>
    <text x="935" y="492" text-anchor="middle" font-size="15" fill="#1e3a8a">Pod</text>
    <circle cx="1025" cy="485" r="28" fill="#bfdbfe" stroke="#2563eb" stroke-width="2"/>
    <text x="1025" y="492" text-anchor="middle" font-size="15" fill="#1e3a8a">Pod</text>

    <rect x="385" y="420" width="230" height="90" rx="18" fill="#f0fdf4" stroke="#16a34a" stroke-width="2"/>
    <text x="500" y="455" text-anchor="middle" font-size="22" font-weight="700" fill="#166534">Service</text>
    <text x="500" y="485" text-anchor="middle" font-size="16" fill="#15803d">稳定访问入口</text>
    <line x1="625" y1="465" x2="748" y2="465" stroke="#16a34a" stroke-width="3" marker-end="url(#arrow)"/>

    <rect x="80" y="430" width="220" height="70" rx="16" fill="#fff7ed" stroke="#f97316" stroke-width="2"/>
    <text x="190" y="472" text-anchor="middle" font-size="20" font-weight="700" fill="#9a3412">访问流量</text>
    <line x1="310" y1="465" x2="374" y2="465" stroke="#f97316" stroke-width="3" marker-end="url(#arrow)"/>

    <rect x="330" y="575" width="540" height="48" rx="24" fill="#eff6ff" stroke="#93c5fd"/>
    <text x="600" y="606" text-anchor="middle" font-size="18" fill="#1e40af">发布过程中可配合滚动更新、回滚、扩缩容和健康检查</text>
  </g>
</svg>
