8.2.2. Modifying a common golden image source in a heterogeneous cluster
You can modify the image source of a common golden image in a heterogeneous cluster by specifying the supported architectures in the ssp.kubevirt.io/dict.architectures annotation in the HyperConverged custom resource (CR).
Golden image support for heterogeneous clusters is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.
Prerequisites
-
You have installed the OpenShift CLI (
oc).
Procedure
Open the
HyperConvergedCR in your default editor by running the following command:$ oc edit hyperconverged kubevirt-hyperconverged -n openshift-cnvEdit the
HyperConvergedCR, adding the appropriate values forssp.kubevirt.io/dict.architecturesannotation in thedataImportCronTemplatessection. For example:#... spec: dataImportCronTemplates: - metadata: name: kubevirt-hyperconverged annotations: ssp.kubevirt.io/dict.architectures: "<architecture_list>" spec: schedule: "0 */12 * * *" template: spec: source: registry: url: docker://my-private-registry/my-own-version-of-centos:8 managedDataSource: centos-stream8 #...where:
ssp.kubevirt.io/dict.architectures-
Specifies a comma-separated list of supported architectures for this image. For example, if the image supports
amd64andarm64architectures, the value would be"amd64,arm64".
-
Save and exit the editor to update the
HyperConvergedCR.