1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

OCPBUGS-37089:adding Important text

This commit is contained in:
Brendan Daly
2025-03-10 12:01:25 +00:00
committed by openshift-cherrypick-robot
parent fd663fccec
commit 3fa8904aa8
4 changed files with 44 additions and 6 deletions

View File

@@ -133,6 +133,8 @@ include::modules/installation-cloudformation-worker.adoc[leveloffset=+2]
* You can view details about the CloudFormation stacks that you create by navigating to the link:https://console.aws.amazon.com/cloudformation/[AWS CloudFormation console].
include::modules/installation-aws-creating-cloudformation-stack-compute.adoc[leveloffset=+2]
include::modules/installation-aws-user-infra-bootstrap.adoc[leveloffset=+1]
[role="_additional-resources"]

View File

@@ -110,7 +110,7 @@ include::modules/installation-cloudformation-bootstrap.adoc[leveloffset=+2]
* See xref:../../../installing/installing_aws/upi/installing-aws-user-infra.adoc#installation-aws-user-infra-rhcos-ami_installing-aws-user-infra[{op-system} AMIs for the AWS infrastructure] for details about the {op-system-first} AMIs for the AWS zones.
include::modules/installation-creating-aws-control-plane.adoc[leveloffset=+1]
include::modules/installation-creating-aws-control-plane.adoc[leveloffset=+2]
include::modules/installation-cloudformation-control-plane.adoc[leveloffset=+2]
@@ -125,6 +125,8 @@ You can either manually create worker nodes or use a MachineSet to create worker
include::modules/installation-cloudformation-worker.adoc[leveloffset=+2]
include::modules/installation-aws-creating-cloudformation-stack-compute.adoc[leveloffset=+2]
include::modules/installation-aws-user-infra-bootstrap.adoc[leveloffset=+1]
[role="_additional-resources"]

View File

@@ -0,0 +1,34 @@
// Module included in the following assemblies:
//
// * installing/installing_aws/installing-aws-user-infra.adoc
// * installing/installing_aws/installing-restricted-networks-aws.adoc
:_mod-docs-content-type: PROCEDURE
[id="installation-aws-creating-cloudformation-stack_{context}"]
= Creating the CloudFormation stack for compute machines
You can create a stack of {aws-short} resources for the compute machines by using the CloudFormation template that was previously shared.
[IMPORTANT]
====
When you use the CloudFormation template for the control plane machines, the template provisions all the three control plane machines with a single stack; however, when you use the CloudFormation template to deploy the compute machines, you must create the number of stacks based on the number that you defined in the `install-config.yaml` file. Each stack is provisioned once for each machine. To provision a new compute machine, you must change the stack name.
====
.Procedure
* To create the CloudFormation stack for compute machines, run the following command:
+
[source,terminal]
----
$ aws cloudformation create-stack --stack-name <name> \// <1>
--template-body file://<template>.yaml \// <2>
--parameters file://<parameters>.json <3>
----
<1> Specify the `<name>` with the name for the CloudFormation stack, such as `cluster-worker-1`. You need the name of this stack if you remove the cluster.
<2> Specify the relative path and the name of the CloudFormation template YAML file that you saved.
<3> Specify the relative path and the name of the JSON file for the CloudFormation parameters.
+
.Example output
[source,terminal]
----
arn:aws:cloudformation:us-east-1:269333783861:stack/cluster-worker-1/729ee301-1c2a-11eb-348f-sd9888c65b59
----

View File

@@ -3,17 +3,17 @@
// * installing/installing_aws/installing-aws-user-infra.adoc
// * installing/installing_aws/installing-restricted-networks-aws.adoc
:_mod-docs-content-type: REFERENCE
[id="installation-cloudformation-worker_{context}"]
= CloudFormation template for worker machines
= CloudFormation template for compute machines
You can use the following CloudFormation template to deploy the worker machines
that you need for your {product-title} cluster.
You can deploy the compute machines that you need for your {product-title} cluster by using the following CloudFormation template.
.CloudFormation template for worker machines
.CloudFormation template for compute machines
[%collapsible]
====
[source,yaml]
----
include::https://raw.githubusercontent.com/openshift/installer/release-4.19/upi/aws/cloudformation/06_cluster_worker_node.yaml[]
----
====
====