// Generated by orrery. Edit the diagram spec and re-render instead of editing this file.
import { type SVGProps, useId } from "react";

export default function PostgreSQLStatefulSetWithCSIStorageAndBackups(props: SVGProps<SVGSVGElement>) {
  const uid = useId().replace(/[^A-Za-z0-9_-]/g, "");
  return (
    <svg xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" width="1091" height="1225" viewBox="0 0 1091 1225" role="img" aria-labelledby={`${uid}-sdw-title ${uid}-sdw-desc`} fontFamily="Inter, 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif" {...props}>
      <title id={`${uid}-sdw-title`}>
        PostgreSQL StatefulSet with CSI storage and backups
      </title>
      <desc id={`${uid}-sdw-desc`}>
        PostgreSQL StatefulSet with CSI storage and backups. 15 components in 5 groups. Connections: orders-api to Headless Service (postgres-0.postgres); Headless Service to StatefulSet postgres (per-pod DNS); postgres-0 to data-postgres-0 (mounts); postgres-1 to data-postgres-1 (mounts); postgres-2 to data-postgres-2 (mounts); data-postgres-0 to PersistentVolume (bound); data-postgres-1 to PersistentVolume (bound); data-postgres-2 to PersistentVolume (bound); StatefulSet postgres to StorageClass (storageClassName); StorageClass to Longhorn CSI driver (provisioner); Longhorn CSI driver to PVs; Velero to Namespace orders (nightly backup); Object storage to Velero (S3 API).
      </desc>
      <defs>
        <symbol id={`${uid}-s1`} viewBox="0 0 777 753.918" overflow="visible">
          <path fill="#326ce5" d="M385.808.067a51.655 51.233 0 0 0-19.795 5.01L95.888 134.144a51.655 51.233 0 0 0-27.95 34.753L1.299 458.82A51.655 51.233 0 0 0 8.31 498.1a51.655 51.233 0 0 0 2.937 4.078l186.97 232.468a51.655 51.233 0 0 0 40.386 19.277l299.835-.069a51.655 51.233 0 0 0 40.385-19.243l186.9-232.503a51.655 51.233 0 0 0 9.985-43.357l-66.746-289.92a51.655 51.233 0 0 0-27.948-34.754l-270.16-129a51.655 51.233 0 0 0-25.046-5.01" />
          <path fill="#fff" d="M389.467 272.057c-8.458 0-15.316 7.62-15.315 17.017 0 .144.03.282.033.425-.013 1.277-.074 2.815-.033 3.927.202 5.42 1.383 9.569 2.094 14.563 1.289 10.688 2.368 19.548 1.702 27.783-.648 3.105-2.935 5.945-4.974 7.92l-.36 6.479a199 199 0 0 0-27.685 4.254c-39.767 9.03-74.005 29.513-100.072 57.17a257 257 0 0 1-5.531-3.927c-2.734.37-5.498 1.213-9.097-.883-6.854-4.614-13.097-10.982-20.65-18.653-3.46-3.67-5.967-7.164-10.079-10.701-.934-.804-2.359-1.89-3.403-2.717-3.215-2.563-7.007-3.9-10.669-4.025-4.708-.16-9.24 1.68-12.206 5.4-5.273 6.613-3.585 16.721 3.763 22.58.075.06.154.105.23.164 1.01.818 2.246 1.867 3.174 2.552 4.363 3.222 8.35 4.871 12.697 7.429 9.16 5.656 16.753 10.347 22.776 16.002 2.352 2.507 2.763 6.925 3.077 8.836l4.908 4.385c-26.277 39.546-38.439 88.393-31.252 138.164l-6.414 1.865c-1.69 2.183-4.08 5.618-6.578 6.643-7.88 2.482-16.749 3.394-27.456 4.516-5.027.418-9.364.169-14.693 1.178-1.173.223-2.807.648-4.09.95-.045.008-.087.022-.132.032-.07.016-.161.05-.229.065-9.027 2.182-14.826 10.479-12.959 18.654s10.685 13.149 19.766 11.191c.066-.015.16-.017.23-.032.102-.024.192-.073.294-.098 1.266-.278 2.852-.587 3.96-.884 5.239-1.403 9.033-3.464 13.744-5.269 10.133-3.634 18.526-6.67 26.703-7.854 3.415-.267 7.013 2.108 8.803 3.11l6.676-1.146c15.362 47.63 47.557 86.126 88.324 110.282l-2.782 6.676c1.003 2.592 2.109 6.1 1.362 8.66-2.973 7.708-8.064 15.845-13.862 24.916-2.808 4.19-5.68 7.443-8.214 12.239-.607 1.148-1.379 2.91-1.964 4.123-3.936 8.422-1.049 18.122 6.512 21.762 7.61 3.663 17.053-.2 21.14-8.64.007-.011.028-.02.033-.032.004-.009-.004-.023 0-.033.583-1.196 1.407-2.769 1.898-3.894 2.17-4.97 2.892-9.23 4.418-14.039 4.052-10.179 6.279-20.859 11.857-27.514 1.528-1.822 4.018-2.523 6.6-3.214l3.469-6.283c35.54 13.641 75.32 17.302 115.06 8.279a199 199 0 0 0 26.278-7.92c.975 1.73 2.787 5.054 3.273 5.891 2.623.854 5.487 1.294 7.82 4.745 4.174 7.13 7.028 15.566 10.505 25.754 1.527 4.808 2.28 9.068 4.451 14.04.495 1.132 1.315 2.727 1.898 3.926 4.079 8.467 13.553 12.343 21.173 8.672 7.56-3.642 10.45-13.34 6.512-21.762-.585-1.212-1.39-2.975-1.996-4.123-2.534-4.796-5.406-8.016-8.214-12.206-5.798-9.07-10.608-16.606-13.58-24.315-1.244-3.975.209-6.448 1.177-9.032-.58-.664-1.82-4.419-2.552-6.185 42.366-25.015 73.616-64.948 88.291-111.068 1.982.312 5.426.921 6.545 1.146 2.304-1.52 4.421-3.501 8.574-3.174 8.177 1.182 16.57 4.22 26.703 7.853 4.71 1.805 8.505 3.9 13.745 5.302 1.107.296 2.694.573 3.96.85.101.026.192.076.294.099.068.015.164.018.23.033 9.08 1.955 17.9-3.015 19.765-11.192s-3.932-16.475-12.96-18.653c-1.312-.299-3.174-.806-4.45-1.048-5.329-1.009-9.666-.76-14.693-1.178-10.707-1.122-19.576-2.034-27.456-4.516-3.213-1.246-5.499-5.07-6.61-6.643l-6.186-1.8c3.207-23.2 2.343-47.345-3.207-71.503-5.6-24.384-15.498-46.685-28.7-66.333 1.587-1.443 4.583-4.096 5.433-4.876.248-2.748.035-5.63 2.88-8.672 6.023-5.656 13.617-10.346 22.776-16.003 4.348-2.558 8.367-4.206 12.73-7.428.987-.729 2.334-1.883 3.37-2.717 7.347-5.86 9.039-15.968 3.764-22.58-5.274-6.612-15.495-7.235-22.842-1.374-1.045.828-2.464 1.908-3.403 2.716-4.112 3.537-6.651 7.031-10.112 10.701-7.553 7.672-13.796 14.072-20.65 18.686-2.97 1.729-7.32 1.13-9.293 1.014l-5.825 4.156c-33.216-34.83-78.44-57.098-127.136-61.424-.136-2.04-.314-5.73-.36-6.84-1.993-1.907-4.401-3.536-5.007-7.657-.666-8.235.447-17.095 1.735-27.783.711-4.994 1.893-9.143 2.094-14.563.046-1.232-.027-3.02-.032-4.352-.001-9.398-6.858-17.018-15.316-17.017m-19.176 118.79-4.55 80.34-.326.164c-.306 7.187-6.22 12.926-13.483 12.926-2.975 0-5.72-.955-7.952-2.585l-.131.065-65.875-46.698c20.246-19.908 46.142-34.62 75.987-41.397a161 161 0 0 1 16.33-2.814m38.386 0c34.843 4.286 67.067 20.064 91.76 44.245l-65.45 46.403-.229-.098c-5.809 4.243-13.994 3.19-18.522-2.487a13.4 13.4 0 0 1-2.945-7.821l-.066-.033zm-154.592 74.22 60.148 53.8-.065.327c5.429 4.72 6.23 12.91 1.701 18.588a13.5 13.5 0 0 1-7.003 4.614l-.065.262-77.1 22.253c-3.924-35.882 4.533-70.763 22.384-99.844m270.34.033c8.936 14.486 15.703 30.664 19.732 48.204 3.98 17.329 4.98 34.627 3.338 51.345l-77.492-22.318-.065-.328c-6.94-1.896-11.204-8.955-9.589-16.035a13.4 13.4 0 0 1 4.287-7.166l-.033-.164zM377.13 523.023h24.642l15.315 19.144-5.498 23.89-22.122 10.635-22.187-10.669-5.498-23.889zm78.998 65.515c1.047-.053 2.09.041 3.108.229l.131-.164 79.75 13.483c-11.67 32.79-34.005 61.198-63.845 80.208l-30.958-74.776.098-.13c-2.844-6.608.002-14.357 6.545-17.508a13.5 13.5 0 0 1 5.17-1.342m-133.943.327c6.086.086 11.545 4.31 12.96 10.505.661 2.9.339 5.774-.753 8.312l.229.294L303.99 682c-28.639-18.377-51.449-45.892-63.65-79.652l79.063-13.417.13.163a13.7 13.7 0 0 1 2.651-.229m66.791 32.43c2.12-.077 4.272.358 6.316 1.342 2.68 1.29 4.751 3.323 6.054 5.76h.295l38.975 70.423a162 162 0 0 1-15.577 4.353c-29.808 6.768-59.52 4.717-86.426-4.45l38.877-70.293h.065a13.52 13.52 0 0 1 11.421-7.134" color="#000" fontFamily="Sans" fontWeight="400" overflow="visible" style={{ "lineHeight": "normal", "textIndent": "0", "textAlign": "start", "textDecorationLine": "none", "textTransform": "none", "marker": "none" }} transform="translate(-22.672 -188.477)scale(1.05569)" />
        </symbol>
        <symbol id={`${uid}-s2`} viewBox="0 0 18.035 17.5" overflow="visible">
          <g transform="translate(-.993 -1.174)">
            <path fill="#326ce5" d="M9.95 1.637a1.137 1.127 0 0 0-.434.11l-5.94 2.838a1.137 1.127 0 0 0-.615.764l-1.465 6.376a1.137 1.127 0 0 0 .154.862 1.137 1.127 0 0 0 .065.09l4.11 5.113a1.137 1.127 0 0 0 .89.423l6.592-.001a1.137 1.127 0 0 0 .888-.423l4.11-5.113a1.137 1.127 0 0 0 .219-.953l-1.468-6.374a1.137 1.127 0 0 0-.614-.764l-5.94-2.839a1.137 1.127 0 0 0-.551-.11" />
            <path fill="#fff" d="M-6.852 3.818a1.181 1.172 0 0 0-.452.115l-6.18 2.951a1.181 1.172 0 0 0-.638.795l-1.524 6.63a1.181 1.172 0 0 0 .16.9 1.181 1.172 0 0 0 .067.093l4.276 5.317a1.181 1.172 0 0 0 .924.44h6.858a1.181 1.172 0 0 0 .923-.44L1.837 15.3a1.181 1.172 0 0 0 .228-.99L.54 7.677a1.181 1.172 0 0 0-.64-.795l-6.178-2.95a1.181 1.172 0 0 0-.573-.115m.003.455a1.12 1.11 0 0 1 .542.108l5.853 2.795a1.12 1.11 0 0 1 .606.753l1.446 6.281a1.12 1.11 0 0 1-.216.94l-4.05 5.037a1.12 1.11 0 0 1-.875.417l-6.496.001a1.12 1.11 0 0 1-.875-.417l-4.05-5.037a1.12 1.11 0 0 1-.064-.088 1.12 1.11 0 0 1-.152-.851l1.444-6.281a1.12 1.11 0 0 1 .605-.753l5.853-2.797a1.12 1.11 0 0 1 .429-.108" color="#000" fontFamily="Sans" fontWeight="400" overflow="visible" style={{ "lineHeight": "normal", "textIndent": "0", "textAlign": "start", "textDecorationLine": "none", "textTransform": "none", "marker": "none" }} transform="translate(16.902 -2.699)scale(1.01489)" />
            <rect width="7.674" height="6.69" x="6.173" y="6.579" fill="none" stroke="#fff" strokeDasharray=".80000001,.4" strokeDashoffset="3.44" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".4" />
          </g>
        </symbol>
        <symbol id={`${uid}-s3`} viewBox="0 0 18.035 17.5" overflow="visible">
          <path fill="#326ce5" d="M8.958.463a1.137 1.127 0 0 0-.434.11l-5.94 2.838a1.137 1.127 0 0 0-.615.764L.504 10.551a1.137 1.127 0 0 0 .154.862 1.137 1.127 0 0 0 .065.09l4.11 5.113a1.137 1.127 0 0 0 .89.423l6.592-.001a1.137 1.127 0 0 0 .888-.423l4.11-5.113a1.137 1.127 0 0 0 .219-.953l-1.468-6.374a1.137 1.127 0 0 0-.614-.764L9.51.572a1.137 1.127 0 0 0-.551-.11" />
          <path fill="#fff" d="M-6.852 3.818a1.181 1.172 0 0 0-.452.115l-6.18 2.951a1.181 1.172 0 0 0-.638.795l-1.524 6.63a1.181 1.172 0 0 0 .16.9 1.181 1.172 0 0 0 .067.093l4.276 5.317a1.181 1.172 0 0 0 .924.44h6.858a1.181 1.172 0 0 0 .923-.44L1.837 15.3a1.181 1.172 0 0 0 .228-.99L.54 7.677a1.181 1.172 0 0 0-.64-.795l-6.178-2.95a1.181 1.172 0 0 0-.573-.115m.003.455a1.12 1.11 0 0 1 .542.108l5.853 2.795a1.12 1.11 0 0 1 .606.753l1.446 6.281a1.12 1.11 0 0 1-.216.94l-4.05 5.037a1.12 1.11 0 0 1-.875.417l-6.496.001a1.12 1.11 0 0 1-.875-.417l-4.05-5.037a1.12 1.11 0 0 1-.064-.088 1.12 1.11 0 0 1-.152-.851l1.444-6.281a1.12 1.11 0 0 1 .605-.753l5.853-2.797a1.12 1.11 0 0 1 .429-.108" color="#000" fontFamily="Sans" fontWeight="400" overflow="visible" style={{ "lineHeight": "normal", "textIndent": "0", "textAlign": "start", "textDecorationLine": "none", "textTransform": "none", "marker": "none" }} transform="translate(15.91 -3.873)scale(1.01489)" />
          <path fill="#fff" fillRule="evenodd" d="M4.389 7.228c0 .622 2.073 1.125 4.63 1.125s4.628-.503 4.628-1.124v3.042c0 .621-2.072 1.125-4.629 1.125s-4.629-.504-4.629-1.125z" />
          <path fill="#fff" fillRule="evenodd" d="M4.389 7.228c0-.62 2.073-1.124 4.63-1.124s4.628.503 4.628 1.125c0 .62-2.072 1.124-4.629 1.124S4.389 7.85 4.389 7.229" />
          <path fill="none" stroke="#326ce5" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".265" d="M13.648 7.228c0 .622-2.073 1.125-4.63 1.125S4.389 7.85 4.389 7.229s2.073-1.125 4.63-1.125 4.628.503 4.628 1.125v3.042c0 .621-2.072 1.125-4.629 1.125s-4.629-.504-4.629-1.125V7.229" />
        </symbol>
        <symbol id={`${uid}-s4`} viewBox="0 0 18.035 17.5" overflow="visible">
          <path fill="#326ce5" d="M8.993.463a1.137 1.127 0 0 0-.434.11l-5.94 2.838a1.137 1.127 0 0 0-.615.764L.54 10.551a1.137 1.127 0 0 0 .154.862 1.137 1.127 0 0 0 .065.09l4.11 5.113a1.137 1.127 0 0 0 .89.423l6.592-.001a1.137 1.127 0 0 0 .888-.423l4.11-5.113a1.137 1.127 0 0 0 .219-.953L16.1 4.175a1.137 1.127 0 0 0-.614-.764L9.545.572a1.137 1.127 0 0 0-.551-.11" />
          <path fill="#fff" d="M-6.852 3.818a1.181 1.172 0 0 0-.452.115l-6.18 2.951a1.181 1.172 0 0 0-.638.795l-1.524 6.63a1.181 1.172 0 0 0 .16.9 1.181 1.172 0 0 0 .067.093l4.276 5.317a1.181 1.172 0 0 0 .924.44h6.858a1.181 1.172 0 0 0 .923-.44L1.837 15.3a1.181 1.172 0 0 0 .228-.99L.54 7.677a1.181 1.172 0 0 0-.64-.795l-6.178-2.95a1.181 1.172 0 0 0-.573-.115m.003.455a1.12 1.11 0 0 1 .542.108l5.853 2.795a1.12 1.11 0 0 1 .606.753l1.446 6.281a1.12 1.11 0 0 1-.216.94l-4.05 5.037a1.12 1.11 0 0 1-.875.417l-6.496.001a1.12 1.11 0 0 1-.875-.417l-4.05-5.037a1.12 1.11 0 0 1-.064-.088 1.12 1.11 0 0 1-.152-.851l1.444-6.281a1.12 1.11 0 0 1 .605-.753l5.853-2.797a1.12 1.11 0 0 1 .429-.108" color="#000" fontFamily="Sans" fontWeight="400" overflow="visible" style={{ "lineHeight": "normal", "textIndent": "0", "textAlign": "start", "textDecorationLine": "none", "textTransform": "none", "marker": "none" }} transform="translate(15.945 -3.873)scale(1.01489)" />
          <path fill="none" stroke="#fff" strokeDasharray="1.58743761,1.58743761" strokeDashoffset="3.667" strokeLinecap="square" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".529" d="M7.329 5.048h6.525V9.63H7.329z" />
          <path fill="#326ce5" fillRule="evenodd" stroke="#fff" strokeDasharray="1.58743761,1.58743761" strokeDashoffset="3.879" strokeLinecap="square" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".529" d="M5.79 6.458h6.525v4.584H5.79z" />
          <path fill="#fff" fillRule="evenodd" d="M4.252 7.87h6.524v4.583H4.252z" />
          <path fill="none" stroke="#fff" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".529" d="M4.252 7.87h6.524v4.583H4.252z" />
          <path fill="#fff" fillRule="evenodd" d="M4.785 9.144c0-.43 1.222-.777 2.729-.777s2.73.348 2.73.777-1.223.778-2.73.778-2.73-.349-2.73-.778" />
          <path fill="none" d="M10.243 9.144c0 .43-1.222.778-2.73.778-1.506 0-2.728-.349-2.728-.778s1.222-.777 2.729-.777 2.73.348 2.73.777v2.103c0 .43-1.223.778-2.73.778s-2.73-.348-2.73-.778V9.144" />
          <path fill="none" stroke="#326ce5" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".529" d="M10.243 9.144c0 .43-1.222.778-2.73.778-1.506 0-2.728-.349-2.728-.778s1.222-.777 2.729-.777 2.73.348 2.73.777v2.103c0 .43-1.223.778-2.73.778s-2.73-.348-2.73-.778V9.144" />
        </symbol>
        <symbol id={`${uid}-s5`} viewBox="0 0 24 24" overflow="visible">
          <g fill="none" stroke="#000000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2">
            <path d="M4 7a8 4 0 1 0 16 0A8 4 0 1 0 4 7" />
            <path d="M4 7c0 .664.088 1.324.263 1.965L7 19c.5 1.5 2.239 2 5 2s4.5-.5 5-2q.5-1.5 2.737-10.035A7.5 7.5 0 0 0 20 7" />
          </g>
        </symbol>
        <symbol id={`${uid}-s6`} viewBox="0 0 18.035 17.5" overflow="visible">
          <path fill="#326ce5" d="M8.958.463a1.137 1.127 0 0 0-.434.11l-5.94 2.838a1.137 1.127 0 0 0-.615.764L.504 10.551a1.137 1.127 0 0 0 .154.862 1.137 1.127 0 0 0 .065.09l4.11 5.113a1.137 1.127 0 0 0 .89.423l6.592-.001a1.137 1.127 0 0 0 .888-.423l4.11-5.113a1.137 1.127 0 0 0 .219-.953l-1.468-6.374a1.137 1.127 0 0 0-.614-.764L9.51.572a1.137 1.127 0 0 0-.551-.11" />
          <path fill="#fff" d="M-6.852 3.818a1.181 1.172 0 0 0-.452.115l-6.18 2.951a1.181 1.172 0 0 0-.638.795l-1.524 6.63a1.181 1.172 0 0 0 .16.9 1.181 1.172 0 0 0 .067.093l4.276 5.317a1.181 1.172 0 0 0 .924.44h6.858a1.181 1.172 0 0 0 .923-.44L1.837 15.3a1.181 1.172 0 0 0 .228-.99L.54 7.677a1.181 1.172 0 0 0-.64-.795l-6.178-2.95a1.181 1.172 0 0 0-.573-.115m.003.455a1.12 1.11 0 0 1 .542.108l5.853 2.795a1.12 1.11 0 0 1 .606.753l1.446 6.281a1.12 1.11 0 0 1-.216.94l-4.05 5.037a1.12 1.11 0 0 1-.875.417l-6.496.001a1.12 1.11 0 0 1-.875-.417l-4.05-5.037a1.12 1.11 0 0 1-.064-.088 1.12 1.11 0 0 1-.152-.851l1.444-6.281a1.12 1.11 0 0 1 .605-.753l5.853-2.797a1.12 1.11 0 0 1 .429-.108" color="#000" fontFamily="Sans" fontWeight="400" overflow="visible" style={{ "lineHeight": "normal", "textIndent": "0", "textAlign": "start", "textDecorationLine": "none", "textTransform": "none", "marker": "none" }} transform="translate(15.91 -3.873)scale(1.01489)" />
          <path fill="#fff" fillRule="evenodd" d="m5.397 6.213 3.62-1.05 3.621 1.05-3.62 1.05Zm0 .402v3.853l3.373 1.869.017-4.713zm7.241 0v3.853l-3.373 1.869-.017-4.713z" />
        </symbol>
        <symbol id={`${uid}-s7`} viewBox="0 0 18.035 17.5" overflow="visible">
          <path fill="#326ce5" d="M8.958.463a1.137 1.127 0 0 0-.434.11l-5.94 2.838a1.137 1.127 0 0 0-.615.764L.504 10.551a1.137 1.127 0 0 0 .154.862 1.137 1.127 0 0 0 .065.09l4.11 5.113a1.137 1.127 0 0 0 .89.423l6.592-.001a1.137 1.127 0 0 0 .888-.423l4.11-5.113a1.137 1.127 0 0 0 .219-.953l-1.468-6.374a1.137 1.127 0 0 0-.614-.764L9.51.572a1.137 1.127 0 0 0-.551-.11" />
          <path fill="#fff" d="M-6.852 3.818a1.181 1.172 0 0 0-.452.115l-6.18 2.951a1.181 1.172 0 0 0-.638.795l-1.524 6.63a1.181 1.172 0 0 0 .16.9 1.181 1.172 0 0 0 .067.093l4.276 5.317a1.181 1.172 0 0 0 .924.44h6.858a1.181 1.172 0 0 0 .923-.44L1.837 15.3a1.181 1.172 0 0 0 .228-.99L.54 7.677a1.181 1.172 0 0 0-.64-.795l-6.178-2.95a1.181 1.172 0 0 0-.573-.115m.003.455a1.12 1.11 0 0 1 .542.108l5.853 2.795a1.12 1.11 0 0 1 .606.753l1.446 6.281a1.12 1.11 0 0 1-.216.94l-4.05 5.037a1.12 1.11 0 0 1-.875.417l-6.496.001a1.12 1.11 0 0 1-.875-.417l-4.05-5.037a1.12 1.11 0 0 1-.064-.088 1.12 1.11 0 0 1-.152-.851l1.444-6.281a1.12 1.11 0 0 1 .605-.753l5.853-2.797a1.12 1.11 0 0 1 .429-.108" color="#000" fontFamily="Sans" fontWeight="400" overflow="visible" style={{ "lineHeight": "normal", "textIndent": "0", "textAlign": "start", "textDecorationLine": "none", "textTransform": "none", "marker": "none" }} transform="translate(15.91 -3.873)scale(1.01489)" />
          <path fill="#fff" fillRule="evenodd" d="M3.595 10.755h2.908v2.042H3.595zm3.969 0h2.908v2.042H7.564zm3.968 0h2.909v2.042h-2.909zM6.714 4.703h4.608v2.042H6.714z" />
          <path fill="none" stroke="#fff" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".529" d="M9.018 6.745V8.75H5.05v2.003m3.968-4.008V8.75h3.967v2.003" />
          <path fill="none" stroke="#fff" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".529" d="M9.01 6.746v2.006h.016v2.003" />
        </symbol>
        <symbol id={`${uid}-s8`} viewBox="0 0 18.035 17.5" overflow="visible">
          <path fill="#326ce5" d="M8.958.463a1.137 1.127 0 0 0-.434.11l-5.94 2.838a1.137 1.127 0 0 0-.615.764L.504 10.551a1.137 1.127 0 0 0 .154.862 1.137 1.127 0 0 0 .065.09l4.11 5.113a1.137 1.127 0 0 0 .89.423l6.592-.001a1.137 1.127 0 0 0 .888-.423l4.11-5.113a1.137 1.127 0 0 0 .219-.953l-1.468-6.374a1.137 1.127 0 0 0-.614-.764L9.51.572a1.137 1.127 0 0 0-.551-.11" />
          <path fill="#fff" d="M-6.852 3.818a1.181 1.172 0 0 0-.452.115l-6.18 2.951a1.181 1.172 0 0 0-.638.795l-1.524 6.63a1.181 1.172 0 0 0 .16.9 1.181 1.172 0 0 0 .067.093l4.276 5.317a1.181 1.172 0 0 0 .924.44h6.858a1.181 1.172 0 0 0 .923-.44L1.837 15.3a1.181 1.172 0 0 0 .228-.99L.54 7.677a1.181 1.172 0 0 0-.64-.795l-6.178-2.95a1.181 1.172 0 0 0-.573-.115m.003.455a1.12 1.11 0 0 1 .542.108l5.853 2.795a1.12 1.11 0 0 1 .606.753l1.446 6.281a1.12 1.11 0 0 1-.216.94l-4.05 5.037a1.12 1.11 0 0 1-.875.417l-6.496.001a1.12 1.11 0 0 1-.875-.417l-4.05-5.037a1.12 1.11 0 0 1-.064-.088 1.12 1.11 0 0 1-.152-.851l1.444-6.281a1.12 1.11 0 0 1 .605-.753l5.853-2.797a1.12 1.11 0 0 1 .429-.108" color="#000" fontFamily="Sans" fontWeight="400" overflow="visible" style={{ "lineHeight": "normal", "textIndent": "0", "textAlign": "start", "textDecorationLine": "none", "textTransform": "none", "marker": "none" }} transform="translate(15.91 -3.873)scale(1.01489)" />
          <path fill="none" stroke="#fff" strokeDasharray="2.11666669,.52916668" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".529" d="M13.647 7.229c0 .621-2.073 1.125-4.63 1.125S4.388 7.85 4.388 7.229c0-.62 2.073-1.124 4.63-1.124s4.628.503 4.628 1.124v3.043c0 .62-2.072 1.124-4.629 1.124s-4.629-.503-4.629-1.124V7.229" />
        </symbol>
        <symbol id={`${uid}-s9`} viewBox="0 0 24 24" overflow="visible">
          <g fill="none" stroke="#000000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2">
            <path d="M12 8v4l2 2" />
            <path d="M3.05 11a9 9 0 1 1 .5 4m-.5 5v-5h5" />
          </g>
        </symbol>
        <symbol id={`${uid}-s10`} viewBox="0 0 24 24" overflow="visible">
          <path fill="#5F224B" d="M21.46 2.172H2.54A2.55 2.55 0 0 0 0 4.712v14.575a2.55 2.55 0 0 0 2.54 2.54h18.92a2.55 2.55 0 0 0 2.54-2.54V4.713a2.55 2.55 0 0 0-2.54-2.54m.427 5.138l-.31 2.1a1.24 1.24 0 0 1-.98 1.032l-5.024 1.003l-.002.015l-.787 4.306a2.474 2.474 0 0 1-2.467 2.34h-.634a2.474 2.474 0 0 1-2.468-2.355l-.697-4.288l-5.115-1.021a1.24 1.24 0 0 1-.98-1.032l-.31-2.1a1.235 1.235 0 0 1 2.445-.36L4.74 8.19L12 9.639l7.26-1.45l.182-1.24a1.235 1.235 0 0 1 2.445.36M12 12.134a1.2 1.2 0 0 1-.242-.024l-.653-.13l.562 3.457a1 1 0 0 1 .016.198h.634a1.2 1.2 0 0 1 .02-.222l.63-3.448l-.725.145a1.2 1.2 0 0 1-.242.024" />
        </symbol>
        <symbol id={`${uid}-s11`} viewBox="0 0 18.035 17.5" overflow="visible">
          <path fill="#326ce5" d="M8.958.463a1.137 1.127 0 0 0-.434.11l-5.94 2.838a1.137 1.127 0 0 0-.615.764L.504 10.551a1.137 1.127 0 0 0 .154.862 1.137 1.127 0 0 0 .065.09l4.11 5.113a1.137 1.127 0 0 0 .89.423l6.592-.001a1.137 1.127 0 0 0 .888-.423l4.11-5.113a1.137 1.127 0 0 0 .219-.953l-1.468-6.374a1.137 1.127 0 0 0-.614-.764L9.51.572a1.137 1.127 0 0 0-.551-.11" />
          <path fill="#fff" d="M-6.852 3.818a1.181 1.172 0 0 0-.452.115l-6.18 2.951a1.181 1.172 0 0 0-.638.795l-1.524 6.63a1.181 1.172 0 0 0 .16.9 1.181 1.172 0 0 0 .067.093l4.276 5.317a1.181 1.172 0 0 0 .924.44h6.858a1.181 1.172 0 0 0 .923-.44L1.837 15.3a1.181 1.172 0 0 0 .228-.99L.54 7.677a1.181 1.172 0 0 0-.64-.795l-6.178-2.95a1.181 1.172 0 0 0-.573-.115m.003.455a1.12 1.11 0 0 1 .542.108l5.853 2.795a1.12 1.11 0 0 1 .606.753l1.446 6.281a1.12 1.11 0 0 1-.216.94l-4.05 5.037a1.12 1.11 0 0 1-.875.417l-6.496.001a1.12 1.11 0 0 1-.875-.417l-4.05-5.037a1.12 1.11 0 0 1-.064-.088 1.12 1.11 0 0 1-.152-.851l1.444-6.281a1.12 1.11 0 0 1 .605-.753l5.853-2.797a1.12 1.11 0 0 1 .429-.108" color="#000" fontFamily="Sans" fontWeight="400" overflow="visible" style={{ "lineHeight": "normal", "textIndent": "0", "textAlign": "start", "textDecorationLine": "none", "textTransform": "none", "marker": "none" }} transform="translate(15.91 -3.873)scale(1.01489)" />
          <path fill="#326ce5" fillRule="evenodd" d="M4.427 9.353c0 .376 2.103.682 4.698.682s4.698-.306 4.698-.682v1.845c0 .376-2.103.682-4.698.682s-4.698-.306-4.698-.682z" />
          <path fill="#326ce5" fillRule="evenodd" d="M4.427 9.353c0-.377 2.103-.682 4.698-.682s4.698.305 4.698.682c0 .376-2.103.682-4.698.682s-4.698-.306-4.698-.682" />
          <path fill="#fff" fillRule="evenodd" stroke="#eee" strokeLinecap="square" strokeMiterlimit="10" strokeWidth=".208" d="M4.427 7.435h0c0 .377 2.103.682 4.698.682s4.698-.305 4.698-.682V9.28c0 .377-2.103.682-4.698.682s-4.698-.305-4.698-.682z" />
          <path fill="#326ce5" fillRule="evenodd" d="M4.427 7.043c0-.377 2.103-.682 4.698-.682s4.698.305 4.698.682-2.103.682-4.698.682-4.698-.305-4.698-.682m0-2.555c0-.377 2.103-.682 4.698-.682s4.698.305 4.698.682c0 .376-2.103.682-4.698.682s-4.698-.306-4.698-.682" />
          <path fill="#326ce5" fillRule="evenodd" d="M4.32 5.218c0 .376 2.103.682 4.698.682s4.698-.306 4.698-.682v1.845c0 .376-2.103.682-4.698.682S4.32 7.439 4.32 7.063z" />
          <path fill="none" stroke="#fff" strokeDasharray="1.66000002,.415" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".415" d="M13.716 10.437c0 .377-2.103.682-4.698.682s-4.698-.305-4.698-.682 2.103-.682 4.698-.682 4.698.305 4.698.682v1.845c0 .377-2.103.682-4.698.682s-4.698-.305-4.698-.682v-1.845" />
          <path fill="none" stroke="#fff" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".415" d="M13.716 7.42c0 .377-2.103.682-4.698.682S4.32 7.797 4.32 7.42s2.103-.682 4.698-.682 4.698.305 4.698.682v1.845c0 .377-2.103.682-4.698.682S4.32 9.642 4.32 9.266V7.42" />
          <path fill="none" stroke="#fff" strokeDasharray="1.66059433,.41514858" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth=".415" d="M13.716 5.218c0 .376-2.103.682-4.698.682S4.32 5.594 4.32 5.218s2.103-.682 4.698-.682 4.698.305 4.698.682v1.845c0 .376-2.103.682-4.698.682S4.32 7.439 4.32 7.063V5.218" />
        </symbol>
      </defs>
      <rect width="1091" height="1225" fill="#ffffff" />
      <text fontSize="20" fontWeight="600" fill="#000000">
        <tspan x="28" y="43.78">
          PostgreSQL StatefulSet with CSI storage and backups
        </tspan>
      </text>
      <text fontSize="13" fill="#5f6b7a">
        <tspan x="28" y="66.18">
          A headless Service gives each replica a stable name, each pod claims its own volume from the Longhorn CSI driver, and Velero backs it all up
        </tspan>
      </text>
      <g id={`${uid}-g-cluster`}>
        <rect x="28" y="252" width="1035" height="862" rx="12" fill="none" stroke="#326ce5" strokeWidth="1" />
      </g>
      <g id={`${uid}-g-ns`}>
        <rect x="48" y="304" width="627" height="558" rx="10" fill="none" stroke="#1f2937" strokeWidth="1" strokeDasharray="4 3" />
      </g>
      <g id={`${uid}-g-velero-ns`}>
        <rect x="705" y="308" width="338" height="176" rx="10" fill="none" stroke="#1f2937" strokeWidth="1" strokeDasharray="4 3" />
      </g>
      <g id={`${uid}-g-pvs`}>
        <rect x="263" y="918" width="424" height="176" rx="8" fill="none" stroke="#888f99" strokeWidth="1" />
      </g>
      <g id={`${uid}-g-sts`}>
        <rect x="323" y="527" width="304" height="176" rx="8" fill="none" stroke="#888f99" strokeWidth="1" />
      </g>
      <g id={`${uid}-e-e1`}>
        <path d="M132.5 388 L309.75 388" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M301.5 392.5 L310.5 388 L301.5 383.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e2`}>
        <path d="M343 475 L343 526.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M338.5 518 L343 527 L347.5 518" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e3`}>
        <path d="M360.75 683 L360.75 754.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M356.25 746 L360.75 755 L365.25 746" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e4`}>
        <path d="M475 683 L475 754.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M470.5 746 L475 755 L479.5 746" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e5`}>
        <path d="M588.5 683 L588.5 754.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M584 746 L588.5 755 L593 746" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e6`}>
        <path d="M340.5 842 L340.5 969.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M336 961 L340.5 970 L345 961" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e7`}>
        <path d="M475 842 L475 969.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M470.5 961 L475 970 L479.5 961" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e8`}>
        <path d="M608.75 842 L608.75 969.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M604.25 961 L608.75 970 L613.25 961" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e9`}>
        <path d="M627 615 L980 615 Q988 615 988 623 L988 951.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M983.5 943 L988 952 L992.5 943" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e10`}>
        <path d="M956 984 L811.75 984" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M820 979.5 L811 984 L820 988.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e11`}>
        <path d="M747 981 L687.75 981" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="6 4" />
        <path d="M696 976.5 L687 981 L696 985.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e12`}>
        <path d="M842 402 L675.75 402" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="1.5 3.5" strokeLinecap="round" />
        <path d="M684 397.5 L675 402 L684 406.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e13`}>
        <path d="M875 200.75 L875 360" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="1.5 3.5" strokeLinecap="round" />
        <path d="M879.5 209 L875 200 L870.5 209" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-el-e1`}>
        <rect x="159.5" y="364" width="124" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="221.5" y="378.68">
            postgres-0.postgres
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e2`}>
        <rect x="349" y="490.5" width="84" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="391" y="505.18">
            per-pod DNS
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e3`}>
        <rect x="366.75" y="708.5" width="53" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="393.25" y="723.18">
            mounts
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e4`}>
        <rect x="481" y="708.5" width="53" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="507.5" y="723.18">
            mounts
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e5`}>
        <rect x="594.5" y="708.5" width="53" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="621" y="723.18">
            mounts
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e6`}>
        <rect x="346.5" y="895.5" width="47" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="370" y="910.18">
            bound
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e7`}>
        <rect x="481" y="895.5" width="47" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="504.5" y="910.18">
            bound
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e8`}>
        <rect x="614.75" y="895.5" width="47" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="638.25" y="910.18">
            bound
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e9`}>
        <rect x="750" y="591" width="115" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="807.5" y="605.68">
            storageClassName
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e10`}>
        <rect x="846.5" y="960" width="74" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="883.5" y="974.68">
            provisioner
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e12`}>
        <rect x="712.5" y="378" width="92" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="758.5" y="392.68">
            nightly backup
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e13`}>
        <rect x="881" y="282.83" width="49" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="905.5" y="297.51">
            S3 API
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-cluster`}>
        <rect x="64" y="261" width="127.91" height="18.9" rx="3" fill="#ffffff" />
        <use href={`#${uid}-s1`} x="40" y="261" width="20" height="20" />
        <text fontSize="13" fontWeight="600" fill="#2457c5">
          <tspan x="68" y="275.18">
            Kubernetes cluster
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-ns`}>
        <rect x="84" y="313" width="127.16" height="18.9" rx="3" fill="#ffffff" />
        <use href={`#${uid}-s2`} x="60" y="313" width="20" height="20" />
        <text fontSize="13" fontWeight="600" fill="#000000">
          <tspan x="88" y="327.18">
            Namespace orders
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-velero-ns`}>
        <rect x="741" y="317" width="125.46" height="18.9" rx="3" fill="#ffffff" />
        <use href={`#${uid}-s2`} x="717" y="317" width="20" height="20" />
        <text fontSize="13" fontWeight="600" fill="#000000">
          <tspan x="745" y="331.18">
            Namespace velero
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-pvs`}>
        <rect x="299" y="927" width="32.98" height="18.9" rx="3" fill="#ffffff" />
        <use href={`#${uid}-s3`} x="275" y="927" width="20" height="20" />
        <text fontSize="13" fontWeight="600" fill="#000000">
          <tspan x="303" y="941.18">
            PVs
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-sts`}>
        <rect x="359" y="536" width="137.09" height="18.9" rx="3" fill="#ffffff" />
        <use href={`#${uid}-s4`} x="335" y="536" width="20" height="20" />
        <text fontSize="13" fontWeight="600" fill="#000000">
          <tspan x="363" y="550.18">
            StatefulSet postgres
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-bucket`}>
        <use href={`#${uid}-s5`} x="842.5" y="96" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="874.5" y="179.18">
            Object storage
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="874.5" y="196.58">
            S3-compatible bucket
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-api`}>
        <use href={`#${uid}-s6`} x="68.5" y="356" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="100.5" y="439.18">
            orders-api
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="100.49" y="456.58">
            Client pods
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-svc`}>
        <use href={`#${uid}-s7`} x="310.5" y="356" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="342.5" y="439.18">
            Headless Service
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="342.51" y="456.58">
            postgres, clusterIP
          </tspan>
          <tspan x="342.51" y="471.58">
            None
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-pod0`}>
        <use href={`#${uid}-s6`} x="345.5" y="579" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="377.5" y="662.18">
            postgres-0
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="377.5" y="679.58">
            Primary
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-pod1`}>
        <use href={`#${uid}-s6`} x="443" y="579" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="475" y="662.18">
            postgres-1
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="475" y="679.58">
            Replica
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-pod2`}>
        <use href={`#${uid}-s6`} x="540.5" y="579" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="572.5" y="662.18">
            postgres-2
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="572.5" y="679.58">
            Replica
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-pvc0`}>
        <use href={`#${uid}-s8`} x="312" y="755" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="344.01" y="838.18">
            data-postgres-0
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-pvc1`}>
        <use href={`#${uid}-s8`} x="442.5" y="755" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="474.5" y="838.18">
            data-postgres-1
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-pvc2`}>
        <use href={`#${uid}-s8`} x="572.5" y="755" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="604.5" y="838.18">
            data-postgres-2
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-velero`}>
        <use href={`#${uid}-s9`} x="842" y="360" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="874" y="443.18">
            Velero
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="874" y="460.58">
            CSI snapshots
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-pv0`}>
        <use href={`#${uid}-s3`} x="305" y="970" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="337" y="1053.18">
            PersistentVolume
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="337" y="1070.58">
            50Gi RWO
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-pv1`}>
        <use href={`#${uid}-s3`} x="443" y="970" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="475" y="1053.18">
            PersistentVolume
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="475" y="1070.58">
            50Gi RWO
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-pv2`}>
        <use href={`#${uid}-s3`} x="581" y="970" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="613" y="1053.18">
            PersistentVolume
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="613" y="1070.58">
            50Gi RWO
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-csi`}>
        <use href={`#${uid}-s10`} x="747" y="952" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="779" y="1035.18">
            Longhorn CSI driver
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="779.01" y="1052.58">
            driver.longhorn.io
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-sc`}>
        <use href={`#${uid}-s11`} x="956" y="952" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="988" y="1035.18">
            StorageClass
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="988.01" y="1052.58">
            longhorn
          </tspan>
        </text>
      </g>
      <g id={`${uid}-legend`}>
        <rect x="884" y="1126" width="179" height="71" rx="6" fill="#ffffff" stroke="#c6ccd4" strokeWidth="1" />
        <path d="M894 1143.5 H922" fill="none" stroke="#545b64" strokeWidth="1.5" />
        <text fontSize="11.5" fill="#000000">
          <tspan x="930" y="1147.68">
            Traffic and references
          </tspan>
        </text>
        <path d="M894 1161.5 H922" fill="none" stroke="#545b64" strokeWidth="1.5" strokeDasharray="6 4" />
        <text fontSize="11.5" fill="#000000">
          <tspan x="930" y="1165.68">
            Creates
          </tspan>
        </text>
        <path d="M894 1179.5 H922" fill="none" stroke="#545b64" strokeWidth="1.5" strokeDasharray="1.5 3.5" strokeLinecap="round" />
        <text fontSize="11.5" fill="#000000">
          <tspan x="930" y="1183.68">
            Backups
          </tspan>
        </text>
      </g>
    </svg>
  );
}
