Skip to content

Feature: Allow save multi-arch images on sealos build #5652

@cnfatal

Description

@cnfatal

What is the problem this feature will solve?

The build-multi-arch-image is designed to build images targeting multi-architecture clusters. However, the images currently loaded into the cluster are single-architecture only. As a result, in mixed-architecture clusters, nodes may pull images that do not match their architecture, leading to unexpected behavior.

If you have solution,please describe it

To address this, I propose introducing a flag such as --multi-arch or --save-multi-arch to allow saving multi-architecture images at build time, it call into sreg and use copy.CopyAllImages to save images.

I’ve done some preliminary work in this area:

What alternatives have you considered?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions