mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
:_mod-docs-content-type: PROCEDURE
|
|
[id="installing-a-cluster-with-multiarch-support_{context}"]
|
|
= Installing a cluster with multi-architecture support
|
|
|
|
You can install a cluster with the support for configuring multi-architecture compute machines.
|
|
|
|
.Prerequisites
|
|
|
|
* You installed the {oc-first}.
|
|
* You have the {product-title} installation program.
|
|
* You downloaded the pull secret for your cluster.
|
|
|
|
.Procedure
|
|
|
|
. Check that the `openshift-install` binary is using the `multi` payload by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ ./openshift-install version
|
|
----
|
|
+
|
|
.Example output
|
|
[source,terminal]
|
|
----
|
|
./openshift-install 4.21.0
|
|
built from commit abc123etc
|
|
release image quay.io/openshift-release-dev/ocp-release@sha256:abc123wxyzetc
|
|
release architecture multi
|
|
default architecture amd64
|
|
----
|
|
+
|
|
The output must contain `release architecture multi` to indicate that the `openshift-install` binary is using the `multi` payload.
|
|
|
|
. Update the `install-config.yaml` file to configure the architecture for the nodes.
|
|
+
|
|
.Sample `install-config.yaml` file with multi-architecture configuration
|
|
+
|
|
[source,yaml]
|
|
----
|
|
apiVersion: v1
|
|
baseDomain: example.openshift.com
|
|
compute:
|
|
- architecture: amd64 <1>
|
|
hyperthreading: Enabled
|
|
name: worker
|
|
platform: {}
|
|
replicas: 3
|
|
controlPlane:
|
|
architecture: arm64 <2>
|
|
name: master
|
|
platform: {}
|
|
replicas: 3
|
|
# ...
|
|
----
|
|
<1> Specify the architecture of the worker node. You can set this field to either `arm64` or `amd64`.
|
|
<2> Specify the control plane node architecture. You can set this field to either `arm64` or `amd64`.
|