Skip to content

Commit 8802775

Browse files
committed
OSDOCS-3326: ARM updates to AWS UPI install
1 parent 860c82d commit 8802775

8 files changed

+48
-25
lines changed

installing/installing-preparing.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ ifndef::openshift-origin[]
181181
|Restricted network
182182
|
183183
|xref:../installing/installing_aws/installing-restricted-networks-aws-installer-provisioned.adoc#installing-restricted-networks-aws-installer-provisioned[X]
184-
|
184+
|xref:../installing/installing_aws/installing-restricted-networks-aws-installer-provisioned.adoc#installing-restricted-networks-aws-installer-provisioned[X]
185185
|
186186
|
187187
|xref:../installing/installing_gcp/installing-restricted-networks-gcp-installer-provisioned.adoc#installing-restricted-networks-gcp-installer-provisioned[X]
@@ -437,11 +437,12 @@ endif::openshift-origin[]
437437
//This table is for all flavors of OpenShift, except OKD. A separate table is required because OKD does not support multiple AWS architecture types. Trying to maintain one table using conditions, while convenient, is very fragile and prone to publishing errors.
438438
ifndef::openshift-origin[]
439439
|===
440-
||Alibaba |AWS |Azure |Azure Stack Hub |GCP |{rh-openstack} |{rh-openstack} on SR-IOV |RHV |Bare metal (x86_64) |Bare metal (arm64) |vSphere |VMC |IBM Cloud VPC |IBM Z |IBM Z with {op-system-base} KVM |IBM Power |Platform agnostic
440+
||Alibaba |AWS (x86_64) |AWS (arm64) |Azure |Azure Stack Hub |GCP |{rh-openstack} |{rh-openstack} on SR-IOV |RHV |Bare metal (x86_64) |Bare metal (arm64) |vSphere |VMC |IBM Cloud VPC |IBM Z |IBM Z with {op-system-base} KVM |IBM Power |Platform agnostic
441441

442442
|Custom
443443
|
444444
|xref:../installing/installing_aws/installing-aws-user-infra.adoc#installing-aws-user-infra[X]
445+
|xref:../installing/installing_aws/installing-aws-user-infra.adoc#installing-aws-user-infra[X]
445446
|xref:../installing/installing_azure/installing-azure-user-infra.adoc#installing-azure-user-infra[X]
446447
|xref:../installing/installing_azure_stack_hub/installing-azure-stack-hub-user-infra.adoc#installing-azure-stack-hub-user-infra[X]
447448
|xref:../installing/installing_gcp/installing-gcp-user-infra.adoc#installing-gcp-user-infra[X]
@@ -466,6 +467,7 @@ ifndef::openshift-origin[]
466467
|
467468
|
468469
|
470+
|
469471
|xref:../installing/installing_openstack/installing-openstack-user-kuryr.adoc#installing-openstack-user-kuryr[X]
470472
|
471473
|
@@ -482,6 +484,7 @@ ifndef::openshift-origin[]
482484
|Restricted network
483485
|
484486
|xref:../installing/installing_aws/installing-restricted-networks-aws.adoc#installing-restricted-networks-aws[X]
487+
|xref:../installing/installing_aws/installing-restricted-networks-aws.adoc#installing-restricted-networks-aws[X]
485488
|
486489
|
487490
|xref:../installing/installing_gcp/installing-restricted-networks-gcp.adoc#installing-restricted-networks-gcp[X]
@@ -503,6 +506,7 @@ ifndef::openshift-origin[]
503506
|
504507
|
505508
|
509+
|
506510
|xref:../installing/installing_gcp/installing-gcp-user-infra-vpc.adoc#installing-gcp-user-infra-vpc[X]
507511
|
508512
|

modules/installation-aws-ami-stream-metadata.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ or `arm64`
3232
endif::openshift-origin[]
3333
AMI for an AWS region, such as `us-west-1`:
3434
+
35+
.For x86_64
3536
[source,terminal]
3637
----
3738
$ openshift-install coreos print-stream-json | jq -r '.architectures.x86_64.images.aws.regions["us-west-1"].image'
@@ -43,4 +44,18 @@ $ openshift-install coreos print-stream-json | jq -r '.architectures.x86_64.imag
4344
ami-0d3e625f84626bbda
4445
----
4546
+
47+
ifndef::openshift-origin[]
48+
.For arm64
49+
[source,terminal]
50+
----
51+
$ openshift-install coreos print-stream-json | jq -r '.architectures.aarch64.images.aws.regions["us-west-1"].image'
52+
----
53+
+
54+
.Example output
55+
[source,terminal]
56+
----
57+
ami-0af1d3b7fa5be2131
58+
----
59+
+
60+
endif::openshift-origin[]
4661
The output of this command is the AWS AMI ID for your designated architecture and the `us-west-1` region. The AMI must belong to the same region as the cluster.

modules/installation-aws-upload-custom-rhcos-ami.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,11 @@ $ aws ec2 register-image \
143143
--root-device-name '/dev/xvda' \
144144
--block-device-mappings 'DeviceName=/dev/xvda,Ebs={DeleteOnTermination=true,SnapshotId=<snapshot_ID>}' <4>
145145
----
146-
<1> The {op-system} VMDK architecture type, like `x86_64`, `s390x`, or `ppc64le`.
146+
<1> The {op-system} VMDK architecture type, like `x86_64`,
147+
ifndef::openshift-origin[]
148+
`arm64`,
149+
endif::openshift-origin[]
150+
`s390x`, or `ppc64le`.
147151
<2> The `Description` from the imported snapshot.
148152
<3> The name of the {op-system} AMI.
149153
<4> The `SnapshotID` from the imported snapshot.

modules/installation-configuration-parameters.adoc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ endif::[]
7373
ifeval::["{context}" == "installing-aws-vpc"]
7474
:aws:
7575
endif::[]
76-
//Starting in 4.10, aws on arm64 is only supported for installation on custom, network custom, private clusters and VPC. This attribute excludes arm64 content from installing in restricted networks upi. When restricted networks upi is supported on arm64, change `aws-restricted` to `aws`.
7776
ifeval::["{context}" == "installing-restricted-networks-aws-installer-provisioned"]
78-
:aws-restricted:
77+
:aws:
7978
endif::[]
8079
ifeval::["{context}" == "installing-azure-customizations"]
8180
:azure:
@@ -652,10 +651,10 @@ endif::openshift-origin[]
652651
|`publish`
653652
|How to publish or expose the user-facing endpoints of your cluster, such as the Kubernetes API, OpenShift routes.
654653
|
655-
ifdef::aws,aws-govcloud,aws-secret,aws-restricted,azure,gcp[]
654+
ifdef::aws,aws-govcloud,aws-secret,azure,gcp[]
656655
`Internal` or `External`. To deploy a private cluster, which cannot be accessed from the internet, set `publish` to `Internal`. The default value is `External`.
657656
endif::[]
658-
ifndef::aws,aws-govcloud,aws-secret,aws-restricted,azure,gcp[]
657+
ifndef::aws,aws-govcloud,aws-secret,azure,gcp[]
659658
`Internal` or `External`. The default value is `External`.
660659

661660
Setting this field to `Internal` is not supported on non-cloud platforms and IBM Cloud VPC.
@@ -677,7 +676,7 @@ a|For example, `sshKey: ssh-ed25519 AAAA..`.
677676

678677
|====
679678

680-
ifdef::aws,aws-govcloud,aws-secret,aws-restricted[]
679+
ifdef::aws,aws-govcloud,aws-secret[]
681680
[id="installation-configuration-parameters-optional-aws_{context}"]
682681
== Optional AWS configuration parameters
683682

@@ -782,7 +781,7 @@ host must trust the certificate.
782781
|Valid subnet IDs.
783782

784783
|====
785-
endif::aws,aws-govcloud,aws-secret,aws-restricted[]
784+
endif::aws,aws-govcloud,aws-secret[]
786785

787786
ifdef::osp[]
788787
[id="installation-configuration-parameters-additional-osp_{context}"]
@@ -1550,7 +1549,7 @@ ifeval::["{context}" == "installing-aws-vpc"]
15501549
:!aws:
15511550
endif::[]
15521551
ifeval::["{context}" == "installing-restricted-networks-aws-installer-provisioned"]
1553-
:!aws-restricted:
1552+
:!aws:
15541553
endif::[]
15551554
ifeval::["{context}" == "installing-azure-customizations"]
15561555
:!azure:

modules/installation-creating-aws-bootstrap.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ requires:
147147
config files for the cluster.
148148
<2> Specify the infrastructure name that you extracted from the Ignition config
149149
file metadata, which has the format `<cluster-name>-<random-string>`.
150-
<3> Current {op-system-first} AMI to use for the bootstrap node.
150+
<3> Current {op-system-first} AMI to use for the bootstrap node based on your selected architecture.
151151
<4> Specify a valid `AWS::EC2::Image::Id` value.
152152
<5> CIDR block to allow SSH access to the bootstrap node.
153153
<6> Specify a CIDR block in the format `x.x.x.x/16-24`.

modules/installation-creating-aws-control-plane.adoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ requires:
9292
},
9393
{
9494
"ParameterKey": "MasterInstanceType", <21>
95-
"ParameterValue": "m6i.xlarge" <22>
95+
"ParameterValue": "" <22>
9696
},
9797
{
9898
"ParameterKey": "AutoRegisterELB", <23>
@@ -120,7 +120,7 @@ requires:
120120
config files for the cluster.
121121
<2> Specify the infrastructure name that you extracted from the Ignition config
122122
file metadata, which has the format `<cluster-name>-<random-string>`.
123-
<3> Current{op-system-first} AMI to use for the control plane machines.
123+
<3> Current {op-system-first} AMI to use for the control plane machines based on your selected architecture.
124124
<4> Specify an `AWS::EC2::Image::Id` value.
125125
<5> Whether or not to perform DNS etcd registration.
126126
<6> Specify `yes` or `no`. If you specify `yes`, you must provide hosted zone
@@ -149,9 +149,12 @@ directory. This value is the long string with the format
149149
<19> The IAM profile to associate with control plane nodes.
150150
<20> Specify the `MasterInstanceProfile` parameter value from the output of
151151
the CloudFormation template for the security group and roles.
152-
<21> The type of AWS instance to use for the control plane machines.
152+
<21> The type of AWS instance to use for the control plane machines based on your selected architecture.
153153
<22> The instance type value corresponds to the minimum resource requirements for
154-
control plane machines.
154+
control plane machines. For example `m6i.xlarge` is a type for `x86_64`
155+
ifndef::openshift-origin[]
156+
and `m6g.xlarge` is a type for `arm64`.
157+
endif::openshift-origin[]
155158
<23> Whether or not to register a network load balancer (NLB).
156159
<24> Specify `yes` or `no`. If you specify `yes`, you must provide a Lambda
157160
Amazon Resource Name (ARN) value.

modules/installation-creating-aws-worker.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ template requires:
7878
},
7979
{
8080
"ParameterKey": "WorkerInstanceType", <15>
81-
"ParameterValue": "m6i.large" <16>
81+
"ParameterValue": "" <16>
8282
}
8383
]
8484
----
8585
<1> The name for your cluster infrastructure that is encoded in your Ignition
8686
config files for the cluster.
8787
<2> Specify the infrastructure name that you extracted from the Ignition config
8888
file metadata, which has the format `<cluster-name>-<random-string>`.
89-
<3> Current {op-system-first} AMI to use for the worker nodes.
89+
<3> Current {op-system-first} AMI to use for the worker nodes based on your selected architecture.
9090
<4> Specify an `AWS::EC2::Image::Id` value.
9191
<5> A subnet, preferably private, to launch the worker nodes on.
9292
<6> Specify a subnet from the `PrivateSubnets` value from the output of the
@@ -104,10 +104,12 @@ directory. This value is the long string with the format
104104
<13> The IAM profile to associate with worker nodes.
105105
<14> Specify the `WorkerInstanceProfile` parameter value from the output of
106106
the CloudFormation template for the security group and roles.
107-
<15> The type of AWS instance to use for the compute machines.
107+
<15> The type of AWS instance to use for the compute machines based on your selected architecture.
108108
<16> The instance type value corresponds to the minimum resource requirements
109-
for compute machines.
110-
109+
for compute machines. For example `m6i.large` is a type for `x86_64`
110+
ifndef::openshift-origin[]
111+
and `m6g.large` is a type for `arm64`.
112+
endif::openshift-origin[]
111113
. Copy the template from the *CloudFormation template for worker machines*
112114
section of this topic and save it as a YAML file on your computer. This template
113115
describes the networking objects and load balancers that your cluster requires.

modules/installation-supported-aws-machine-types.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
// * installing/installing_aws/installing-aws-private.adoc
1111
// * installing/installing_aws/installing-aws-china.adoc
1212

13-
//Starting in 4.10, aws on arm64 is only supported for installation on custom, network custom, private clusters and VPC. This attribute excludes arm64 content from installing in restricted networks upi. When restricted networks upi is supported on arm64, remove this ifdevel.
14-
ifeval::["{context}" == "installing-restricted-networks-aws"]
15-
:aws-restricted-upi:
16-
endif::[]
1713
//Starting in 4.10, aws on arm64 is only supported for installation on custom, network custom, private clusters and VPC. This attribute excludes arm64 content from installing on gov regions. When government regions are supported on arm64, remove this ifdevel.
1814
ifeval::["{context}" == "installing-aws-government-region"]
1915
:aws-govcloud:
@@ -412,7 +408,7 @@ The following Amazon Web Services (AWS) instance types are supported with {produ
412408
|===
413409
====
414410

415-
ifndef::aws-restricted-upi,aws-govcloud,aws-secret,aws-china,openshift-origin[]
411+
ifndef::aws-govcloud,aws-secret,aws-china,openshift-origin[]
416412
.Machine types based on arm64 architecture
417413
[%collapsible]
418414
====

0 commit comments

Comments
 (0)