Multi Architecture
Building Multi-Architecture Images
To build an image for the default amd64
architecutre, no extra configuration is needed.
For adding multiple architectures, add the additional_architectures
field under the image configuration.
The following example will build the my-image
for amd64
(default) and arm64
.
In the above example, the os
image defined in the base_images
is used as a base to build the my-image
image.
Since the additional_architectures
is defined for arm64
, the os
image must be combatible with arm64
architecture too.
Running Tests on Different Architectures
To run tests on a specific architecture, add the node_architecture field to your test configuration:
This test uses src
as a base image to run the unit
test. Ci-operator will determine that the src
image needs to be build for arm64
architecture
will resolve the image build graph based on this information. Learn more about image lifecycle in #image-pipeline
Cluster selection
There is currently no need to configure a specific cluster to your test. Cluster selection is achieved via the prowjob dispatcher component. Based on the capabilities of the cluster, the correct selection will be done based on the job’s needs.
Notes
Available architectures: amd64
, arm64
. For availability of other architectures, please contact us.