Uploaded image for project: 'Multiple Architecture Enablement'
  1. Multiple Architecture Enablement
  2. MULTIARCH-5840

Clarify ImageStream configuration to persist multi-arch tags across cluster upgrades

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • None

      Users have reported that multi-architecture ImageStream tags are reverting to single-architecture (e.g., amd64 only) following an OpenShift cluster upgrade. This causes application deployments to fail on nodes with different architectures.

      Investigation reveals that this occurs because users are likely using oc import-image command-line flags to set the import mode. These flags only apply to that specific import cycle. To ensure multi-arch tags persist across upgrades, the ImageStream spec itself must be modified.

      Problem Description

      Currently, users may manually fix multi-arch tag issues by running: oc import-image <image> --import-mode="PreserveOriginal"

      However, this is not permanent. When the cluster upgrades, the ImageStream reconciles and defaults back to Legacy mode (single architecture), causing the tags to drop the additional architectures.

      We need to update our documentation to explain that the importMode must be defined within the {{ImageStream.spec }}to be persistent.

      Relevant Code: openshift/oc/pkg/cli/importimage/importimage.go

              rhn-support-adistefa Alessandro Di Stefano
              tzivkovi@redhat.com Tori Zivkovic
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: