Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-363

Design plugin registry alternative to registry deployment for image backup workflow

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • OADP 1.1.0
    • None
    • None
    • OADP Sprint 216, OADP Sprint 217, OADP Sprint 218
    • 3
    • 0
    • 0
    • 0
    • Untriaged

      The alternative to registry deployment we came up with essentially removes a listening HTTP server and connect openshift-velero-plugin directly with the distribution/distribution code to serve requests from container/image/copy method as needed. A "library" to help achieve this is kaovilai/udistribution which may be moved to konveyor org.

      OADP-Operator controller manager will

      • set environment variables on the velero container
        • tell openshift-velero-plugin to initialize udistribution transport to be used to talk to storage drivers such as s3

      openshift-velero-plugin will

      • initialize udistribution transport to be used to talk to storage drivers such as s3
      • use udistributionTransport.ParseReference

      Alternatives considered

      Original issue
      There are better solutions aside from our current workflow where we use the velero plugin system to backup images to a transient registry serially. We need to explore all alternatives and come up with a new design.

      A few options:
      1. Refactor existing plugin workflow to write directly to the s3 bucket
      2. Implement a new API that allows a user to specify a set of images to backup to a backupstoragelocation
      3. Anything....

            tkaovila@redhat.com Tiger Kaovilai
            rhn-engineering-dymurray Dylan Murray
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: