Chapter 4. Interactive cluster creation mode reference
This section provides an overview of the options that are presented when you use the interactive mode to create the ocm-role, the user-role, and Red Hat OpenShift Service on AWS classic architecture clusters by using the ROSA command-line interface (CLI) (rosa).
4.1. Interactive OpenShift Cluster Manager and user role creation mode options Copy linkLink copied to clipboard!
You can enable interactive mode by specifying the --interactive option when you run the rosa create ocm-role command or the rosa create user-role command.
Before you can use Red Hat OpenShift Cluster Manager to create Red Hat OpenShift Service on AWS classic architecture clusters that use the AWS Security Token Service (STS), you must associate your AWS account with your Red Hat organization by creating and linking the OpenShift Cluster Manager and user roles.
The following tables describe the interactive OpenShift Cluster Manager role creation mode options:
| Field | Description |
|---|---|
|
|
Specify the prefix to include in the OpenShift Cluster Manager IAM role name. The default is |
|
|
Enable the admin OpenShift Cluster Manager IAM role, which is equivalent to specifying the |
|
| Specify a permissions boundary Amazon Resource Name (ARN) for the OpenShift Cluster Manager role. For more information, see Permissions boundaries for IAM entities in the AWS documentation. |
|
|
Specify a custom ARN path for your OpenShift Cluster Manager role. The path must contain alphanumeric characters only and start and end with |
|
|
Select the role creation mode. You can use |
|
| Confirm if you want to create the OpenShift Cluster Manager role. |
|
| Confirm if you want to link the OpenShift Cluster Manager role with your Red Hat organization. |
The following tables describe the interactive user role creation mode options:
| Field | Description |
|---|---|
|
|
Specify the prefix to include in the user role name. The default is |
|
| Specify a permissions boundary Amazon Resource Name (ARN) for the user role. For more information, see Permissions boundaries for IAM entities in the AWS documentation. |
|
|
Specify a custom ARN path for your user role. The path must contain alphanumeric characters only and start and end with |
|
|
Selects the role creation mode. You can use |
|
| Confirm if you want to create the user role. |
|
| Confirm if you want to link the user role with your Red Hat user account. |
4.2. Interactive cluster creation mode options Copy linkLink copied to clipboard!
You can create a Red Hat OpenShift Service on AWS classic architecture cluster with the AWS Security Token Service (STS) by using the interactive mode. You can enable the mode by specifying the --interactive option when you run the rosa create cluster command.
The following table describes the interactive cluster creation mode options:
| Field | Description |
|---|---|
|
|
Enter a name for your cluster, for example |
|
|
When creating your cluster, you can customize the subdomain for your cluster on |
|
|
Enable the use of hosted control planes. The default is
If you specify options that are only compatible with Red Hat OpenShift Service on AWS (classic architecture) clusters, such as
This default applies to interactive mode only. In non-interactive mode, the |
|
|
Create a local administrator user ( |
|
|
Create a custom password for the |
|
|
Select the version of OpenShift to install, for example 4. The default is the latest version. The listed |
|
| If you have more than one set of account roles in your AWS account for your cluster version, a list of installer role ARNs are provided. Select the ARN for the installer role that you want to use with your cluster. The cluster uses the account-wide roles and policies that relate to the selected installer role. |
|
| Specify an unique identifier that is passed by OpenShift Cluster Manager and the OpenShift installer when an account role is assumed. This option is only required for custom account roles that expect an external ID. |
|
|
By default, the cluster-specific Operator role names are prefixed with the cluster name and a random 4-digit hash. You can optionally specify a custom prefix to replace Note If you specified custom ARN paths when you created the associated account-wide roles, the custom path is automatically detected. The custom path is applied to the cluster-specific Operator roles when you create them in a later step. |
|
| Specify if you want to use a preconfigured OIDC configuration or if you want to create a new OIDC configuration as part of the cluster creation process. |
|
|
Specify a tag that is used on all resources created by Red Hat OpenShift Service on AWS classic architecture in AWS. Tags can help you manage, identify, organize, search for, and filter resources within AWS. Tags are comma separated, for example: Important Red Hat OpenShift Service on AWS classic architecture only supports custom tags to Red Hat OpenShift resources during cluster creation. Once added, the tags cannot be removed or edited. Tags that are added by Red Hat are required for clusters to stay in compliance with Red Hat production service level agreements (SLAs). These tags must not be removed. Red Hat OpenShift Service on AWS classic architecture does not support adding additional tags outside of ROSA cluster-managed resources. These tags can be lost when AWS resources are managed by the ROSA cluster. In these cases, you might need custom solutions or tools to reconcile the tags and keep them intact. |
|
|
Deploy the cluster to multiple availability zones in the AWS region. The default is |
|
|
Specify the AWS region to deploy the cluster in. This overrides the |
|
|
Create a cluster using AWS PrivateLink. This option provides private connectivity between Virtual Private Clouds (VPCs), AWS services, and your on-premise networks, without exposing your traffic to the public internet. To provide support, Red Hat Site Reliability Engineering (SRE) can connect to the cluster by using AWS PrivateLink Virtual Private Cloud (VPC) endpoints. This option cannot be changed after a cluster is created. The default is |
|
|
Specify the IP address range for machines (cluster nodes), which must encompass all CIDR address ranges for your VPC subnets. Subnets must be contiguous. A minimum IP address range of 128 addresses, using the subnet prefix |
|
|
Specify the IP address range for services. It is recommended, but not required, that the address block is the same between clusters. This will not create IP address conflicts. The range must be large enough to accommodate your workload. The address block must not overlap with any external service accessed from within the cluster. The default is |
|
|
Specify the IP address range for pods. It is recommended, but not required, that the address block is the same between clusters. This will not create IP address conflicts. The range must be large enough to accommodate your workload. The address block must not overlap with any external service accessed from within the cluster. The default is |
|
|
Install a cluster into an existing AWS VPC. To use this option, your VPC must have 2 subnets for each availability zone that you are installing the cluster into. The default is Warning You cannot install a Red Hat OpenShift Service on AWS classic architecture cluster into an existing VPC that was created by the OpenShift installer. These VPCs are created during the cluster deployment process and must only be associated with a single cluster to ensure that cluster provisioning and deletion operations work correctly.
To verify whether a VPC was created by the OpenShift installer, check for the |
|
|
Specify the availability zones that are used when installing into an existing AWS VPC. Use a comma-separated list to provide the availability zones. If you specify |
|
| Enable this option if you are using your own AWS Key Management Service (KMS) key to encrypt the control plane, infrastructure, worker node root volumes, and PVs. Specify the ARN for the KMS key that you added to the account-wide role ARN in the preceding step. Important Only persistent volumes (PVs) created from the default storage class are encrypted with this specific key. PVs created by using any other storage class are still encrypted, but the PVs are not encrypted with this key unless the storage class is specifically configured to use this key. |
|
|
Select a compute node instance type. The default is |
|
|
Enable compute node autoscaling. The autoscaler adjusts the size of the cluster to meet your deployment demands. The default is |
|
| Select the additional custom security group IDs that are used with the standard machine pool created along side the cluster. The default is none selected. Only security groups associated with the selected VPC are displayed. You can select a maximum of 5 additional security groups. |
|
| Select the additional custom security group IDs that are used with the infra nodes created along side the cluster. The default is none selected. Only security groups associated with the selected VPC are displayed. You can select a maximum of 5 additional security groups. |
|
| Select the additional custom security group IDs that are used with the control plane nodes created along side the cluster. The default is none selected. Only security groups associated with the selected VPC are displayed. You can select a maximum of 5 additional security groups. |
|
|
Specify the number of compute nodes to provision into each availability zone. Clusters deployed in a single availability zone require at least 2 nodes. Clusters deployed in multiple zones must have at least 3 nodes. The maximum number of worker nodes is 249 nodes. The default value is |
|
| Specify the labels for the default machine pool. The label format should be a comma-separated list of key-value pairs. This list will overwrite any modifications made to node labels on an ongoing basis. |
|
|
Specify the subnet prefix length assigned to pods scheduled to individual machines. The host prefix determines the pod IP address pool for each machine. For example, if the host prefix is set to |
|
|
Specify the size of the machine pool root disk. This value must include a unit suffix like GiB or TiB, for example the default value of |
|
| Enable this option if you require your cluster to be FIPS validated. Selecting this option means the encrypt etcd data option is enabled by default and cannot be disabled. You can encrypt etcd data without enabling FIPS support. Important To enable FIPS mode for your cluster, you must run the installation program from a Red Hat Enterprise Linux (RHEL) computer configured to operate in FIPS mode. For more information about configuring FIPS mode on RHEL, see Switching RHEL to FIPS mode. When running Red Hat Enterprise Linux (RHEL) or Red Hat Enterprise Linux CoreOS (RHCOS) booted in FIPS mode, Red Hat OpenShift Service on AWS classic architecture core components use the RHEL cryptographic libraries that have been submitted to NIST for FIPS 140-2/140-3 Validation on only the x86_64, ppc64le, and s390x architectures. |
|
| Enable this option if your use case only requires etcd key value encryption in addition to the control plane storage encryption that encrypts the etcd volumes by default. With this option, the etcd key values are encrypted but not the keys. Important By enabling etcd encryption for the key values in etcd, you will incur a performance overhead of approximately 20%. The overhead is a result of introducing this second layer of encryption, in addition to the default control plane storage encryption that encrypts the etcd volumes. Red Hat recommends that you enable etcd encryption only if you specifically require it for your use case. |
|
| Disable monitoring for user-defined projects. Monitoring for user-defined projects is enabled by default. |
|
| Enable cluster deletion protection to prevent accidental deletion. By default, clusters are created with deletion protection disabled.
When deletion protection is enabled, attempts to delete the cluster using
Deletion protection only blocks deletion requests made through the |
|
| Specify a comma-separated list of OpenShift Cluster Manager account usernames or email addresses to receive cluster notification emails. All contacts must belong to the same Red Hat organization as the cluster. Leave the value empty to skip this option.
After you create the cluster, you can change or remove the notification contacts by running |
|
| Specify the route selector for your ingress. The format should be a comma-separated list of key-value pairs. If you do not specify a label, all routes will be exposed on both routers. For legacy ingress support, these labels are inclusion labels; otherwise, they are treated as exclusion labels. |
|
|
Specify the excluded namespaces for your ingress. The format should be a comma-separated list |
|
|
Choose the wildcard policy for your ingress. The options are |
|
|
Choose the namespace ownership policy for your ingress. The options are |