<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 Ingress访问路径</text>
  <text x="60" y="112" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="18" fill="#475569">从外部请求到Ingress、Service再到Pod的流量转发关系</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="275" width="170" height="90" rx="18" fill="#fff7ed" stroke="#f97316" stroke-width="2"/>
    <text x="155" y="312" text-anchor="middle" font-size="22" font-weight="700" fill="#9a3412">用户请求</text>
    <text x="155" y="342" text-anchor="middle" font-size="16" fill="#c2410c">域名 / HTTPS</text>

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

    <rect x="370" y="245" width="190" height="150" rx="22" fill="#dbeafe" stroke="#2563eb" stroke-width="2"/>
    <text x="465" y="292" text-anchor="middle" font-size="24" font-weight="700" fill="#1e3a8a">Ingress</text>
    <text x="465" y="326" text-anchor="middle" font-size="16" fill="#1d4ed8">域名与路径路由</text>
    <text x="465" y="354" text-anchor="middle" font-size="16" fill="#1d4ed8">TLS / 规则匹配</text>

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

    <rect x="690" y="265" width="170" height="110" rx="20" fill="#f0fdf4" stroke="#16a34a" stroke-width="2"/>
    <text x="775" y="310" text-anchor="middle" font-size="24" font-weight="700" fill="#166534">Service</text>
    <text x="775" y="342" text-anchor="middle" font-size="16" fill="#15803d">稳定入口</text>

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

    <rect x="965" y="205" width="150" height="70" rx="16" fill="#eef2ff" stroke="#4f46e5" stroke-width="2"/>
    <text x="1040" y="248" text-anchor="middle" font-size="20" font-weight="700" fill="#3730a3">Pod A</text>
    <rect x="965" y="285" width="150" height="70" rx="16" fill="#eef2ff" stroke="#4f46e5" stroke-width="2"/>
    <text x="1040" y="328" text-anchor="middle" font-size="20" font-weight="700" fill="#3730a3">Pod B</text>
    <rect x="965" y="365" width="150" height="70" rx="16" fill="#eef2ff" stroke="#4f46e5" stroke-width="2"/>
    <text x="1040" y="408" text-anchor="middle" font-size="20" font-weight="700" fill="#3730a3">Pod C</text>

    <rect x="220" y="520" width="760" height="56" rx="28" fill="#eff6ff" stroke="#bfdbfe"/>
    <text x="600" y="556" text-anchor="middle" font-size="18" fill="#1e40af">Ingress适合处理HTTP/HTTPS入口，Service负责把流量转发给后端Pod</text>
  </g>
</svg>
