mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
81 lines
2.3 KiB
Plaintext
81 lines
2.3 KiB
Plaintext
// Module included in the following assemblies:
|
|
// * installing/installing-aws-localzone.adoc (Installing a cluster on AWS with worker nodes on AWS Local Zones)
|
|
// * installing/installing-aws-wavelength-zone.adoc (Installing a cluster on AWS with worker nodes on AWS Wavelength Zones)
|
|
|
|
ifeval::["{context}" == "installing-aws-localzone"]
|
|
:local-zone:
|
|
endif::[]
|
|
ifeval::["{context}" == "installing-aws-wavelength-zone"]
|
|
:wavelength-zone:
|
|
endif::[]
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="installing-aws-edge-zones-custom-vpc-config_{context}"]
|
|
ifdef::local-zone[]
|
|
= Modifying an installation configuration file to use AWS Local Zones subnets
|
|
|
|
endif::local-zone[]
|
|
ifdef::wavelength-zone[]
|
|
= Modifying an installation configuration file to use AWS Wavelength Zones subnets
|
|
|
|
endif::wavelength-zone[]
|
|
|
|
Modify your `install-config.yaml` file to include {zone-type} subnets.
|
|
|
|
.Prerequisites
|
|
|
|
* You created subnets by using the procedure "Creating subnets in {zone-type}".
|
|
* You created an `install-config.yaml` file by using the procedure "Creating the installation configuration file".
|
|
|
|
.Procedure
|
|
|
|
* Modify the `install-config.yaml` configuration file by specifying {zone-type} subnets in the `platform.aws.subnets` parameter.
|
|
+
|
|
ifdef::local-zone[]
|
|
.Example installation configuration file with {zone-type} subnets
|
|
[source,yaml]
|
|
----
|
|
# ...
|
|
platform:
|
|
aws:
|
|
region: us-west-2
|
|
subnets: <1>
|
|
- publicSubnetId-1
|
|
- publicSubnetId-2
|
|
- publicSubnetId-3
|
|
- privateSubnetId-1
|
|
- privateSubnetId-2
|
|
- privateSubnetId-3
|
|
- publicSubnetId-LocalZone-1
|
|
# ...
|
|
----
|
|
<1> List of subnet IDs created in the zones: Availability and {zone-type}.
|
|
endif::local-zone[]
|
|
ifdef::wavelength-zone[]
|
|
.Example installation configuration file with {zone-type} subnets
|
|
[source,yaml]
|
|
----
|
|
# ...
|
|
platform:
|
|
aws:
|
|
region: us-west-2
|
|
subnets: <1>
|
|
- publicSubnetId-1
|
|
- publicSubnetId-2
|
|
- publicSubnetId-3
|
|
- privateSubnetId-1
|
|
- privateSubnetId-2
|
|
- privateSubnetId-3
|
|
- publicOrPrivateSubnetID-Wavelength-1
|
|
# ...
|
|
----
|
|
<1> List of subnet IDs created in the zones: Availability and {zone-type}.
|
|
endif::wavelength-zone[]
|
|
|
|
ifeval::["{context}" == "installing-aws-localzone"]
|
|
:!local-zone:
|
|
endif::[]
|
|
ifeval::["{context}" == "installing-aws-wavelength-zone"]
|
|
:!wavelength-zone:
|
|
endif::[]
|