Skip to content

Commit f310cc7

Browse files
authored
Merge pull request #76255 from sr1kar99/9222-agent-installer-with-multiarch-payload
OSDOCS#9222: Agent installer with multi-arch payload
2 parents 4601a63 + f1284d2 commit f310cc7

File tree

3 files changed

+59
-2
lines changed

3 files changed

+59
-2
lines changed

installing/installing_with_agent_based_installer/installing-with-agent-based-installer.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,16 @@ The following procedures deploy a single-node {product-title} in a disconnected
2525
// Downloading the Agent-based Installer
2626
include::modules/installing-ocp-agent-download.adoc[leveloffset=+2]
2727

28+
//Verifying architectures
29+
include::modules/agent-installer-architectures.adoc[leveloffset=+2]
30+
2831
// Creating the preferred configuration inputs
2932
include::modules/installing-ocp-agent-inputs.adoc[leveloffset=+2]
3033

3134
[role="_additional-resources"]
3235
.Additional resources
3336
* xref:../../installing/installing_vsphere/ipi/installing-vsphere-installer-provisioned-customizations.adoc#configuring-vsphere-regions-zones_installing-vsphere-installer-provisioned-customizations[Configuring regions and zones for a VMware vCenter]
37+
* xref:../../installing/installing_with_agent_based_installer/installing-with-agent-based-installer.adoc#agent-install-verifying-architectures_installing-with-agent-based-installer[Verifying the supported architecture for installing an Agent-based installer cluster]
3438

3539
[id="installing-ocp-agent-opt-manifests_{context}"]
3640
=== Optional: Creating additional manifest files
@@ -88,6 +92,5 @@ include::modules/sample-ztp-custom-resources.adoc[leveloffset=+1]
8892

8993
* See xref:../../edge_computing/ztp-deploying-far-edge-clusters-at-scale.adoc#ztp-deploying-far-edge-clusters-at-scale[Challenges of the network far edge] to learn more about {ztp-first}.
9094

91-
9295
// Gathering log data from a failed Agent-based installation
9396
include::modules/installing-ocp-agent-gather-log.adoc[leveloffset=+1]
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing/installing-with-agent-based-installer/preparing-to-install-with-agent-based-installer.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="agent-install-verifying-architectures_{context}"]
7+
= Verifying the supported architecture for installing an Agent-based Installer cluster
8+
9+
Before installing an {product-title} cluster using the Agent-based Installer, you can verify the supported architecture on which you can install the cluster. This procedure is optional.
10+
11+
.Prerequisites:
12+
13+
* You installed the {oc-first}.
14+
* You have downloaded the installation program.
15+
16+
.Procedure:
17+
18+
. Log in to the {oc-first}.
19+
20+
. Check your release payload by running the following command:
21+
[source,terminal]
22+
+
23+
----
24+
$ ./openshift-install version
25+
----
26+
+
27+
.Example output
28+
[source,terminal]
29+
----
30+
./openshift-install 4.16.0
31+
built from commit abc123def456
32+
release image quay.io/openshift-release-dev/ocp-release@sha256:123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz0
33+
release architecture amd64
34+
----
35+
+
36+
If you are using the release image with the `multi` payload, the `release architecture` displayed in the output of this command is the default architecture.
37+
38+
. To check the architecture of the payload, run the following command:
39+
[source,terminal]
40+
+
41+
----
42+
$ oc adm release info <release_image> -o jsonpath="{ .metadata.metadata}" <1>
43+
----
44+
<1> Replace `<release_image>` with the release image. For example: `quay.io/openshift-release-dev/ocp-release@sha256:123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz0`.
45+
+
46+
.Example output when the release image uses the `multi` payload:
47+
[source,terminal]
48+
----
49+
{"release.openshift.io architecture":"multi"}
50+
----
51+
+
52+
If you are using the release image with the `multi` payload, you can install the cluster on different architectures such as `arm64`, `amd64`, `s390x`, and `ppc64le`. Otherwise, you can install the cluster only on the `release architecture` displayed in the output of the `openshift-install version` command.

modules/installing-ocp-agent-inputs.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ pullSecret: '<pull_secret>' // <5>
7777
sshKey: '<ssh_pub_key>' // <6>
7878
EOF
7979
----
80-
<1> Specify the system architecture, valid values are `amd64`, `arm64`, `ppc64le`, and `s390x`.
80+
<1> Specify the system architecture. Valid values are `amd64`, `arm64`, `ppc64le`, and `s390x`.
81+
+
82+
If you are using the release image with the `multi` payload, you can install the cluster on different architectures such as `arm64`, `amd64`, `s390x`, and `ppc64le`. Otherwise, you can install the cluster only on the `release architecture` displayed in the output of the `openshift-install version` command. For more information, see "Verifying the supported architecture for installing an Agent-based Installer cluster".
8183
<2> Required. Specify your cluster name.
8284
<3> The cluster network plugin to install. The default value `OVNKubernetes` is the only supported value.
8385
<4> Specify your platform.

0 commit comments

Comments
 (0)