You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/rosa-create-objects.adoc
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ $ rosa create cluster --cluster-name=<cluster_name> [arguments]
126
126
|The identifier of one or more additional security groups to use along with the default security groups that are used with the control plane nodes created alongside the cluster. For more information on additional security groups, see the requirements for _Security groups_ under _Additional resources_.
127
127
128
128
a|--cluster-name <cluster_name>
129
-
|Required. The name of the cluster. When used with the `create cluster` command, this argument is used to set the cluster name and to generate a sub-domain for your cluster on `openshiftapps.com`. The value for this argument must be unique within your organization.
129
+
|Required. The name of the cluster. When used with the `create cluster` command, this argument is used to set the cluster name and can hold up to 54 characters. The value for this argument must be unique within your organization.
130
130
131
131
|--compute-machine-type <instance_type>
132
132
|The instance type for compute nodes in the cluster. This determines the amount of memory and vCPU that is allocated to each compute node. For more information on valid instance types, see _AWS Instance types_ in _ROSA service definition_.
|Optional: When used with the `create cluster` command, this argument sets the subdomain for your cluster on `*.openshiftapps.com`. The value for this argument must be unique within your organization, cannot be longer than 15 characters, and cannot be changed after cluster creation.
145
+
If the argument is not supplied, an autogenerated value is created that depends on the length of the cluster name. If the cluster name is fewer than or equal to 15 characters, that name is used for the domain prefix. If the cluster name is longer than 15 characters, the domain prefix is randomly generated to a 15 character string.
146
+
143
147
|--ec2-metadata-http-tokens string
144
148
|Configures the use of IMDSv2 for EC2 instances. Valid values are `optional` (default) or `required`.
Copy file name to clipboardExpand all lines: modules/rosa-hcp-sts-creating-a-cluster-cli.adoc
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,6 @@ When using the {product-title} (ROSA) CLI, `rosa`, to create a cluster, you can
35
35
When creating a {hcp-title} cluster, the default machine Classless Inter-Domain Routing (CIDR) is `10.0.0.0/16`. If this does not correspond to the CIDR range for your VPC subnets, add `--machine-cidr <address_block>` to the following commands. To learn more about the default CIDR ranges for {product-title}, see xref:../networking/cidr-range-definitions.adoc#cidr-range-definitions[CIDR range definitions].
36
36
====
37
37
+
38
-
--
39
38
* If you did not set environmental variables, run the following command:
<.> Specify the name of your cluster, ensuring that the cluster name consists of no more than 15 lowercase alphanumeric characters or '-', starts with a letter, and ends with an alphanumeric character.
48
+
<.> Specify the name of your cluster. If your cluster name is longer than 15 characters, it will contain an autogenerated domain prefix as a subdomain for your provisioned cluster on openshiftapps.com. To customize the subdomain, use the `--domain-prefix` flag. The domain prefix cannot be longer than 15 characters, must be unique, and cannot be changed after cluster creation.
50
49
<.> Optional: The `--private` argument is used to create private {hcp-title} clusters. If you use this argument, ensure that you only use your private subnet ID for `--subnet-ids`.
51
50
<.> 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 `<cluster_name>-<hash>` in the role names. The prefix is applied when you create the cluster-specific Operator IAM roles. For information about the prefix, see _About custom Operator IAM role prefixes_.
52
51
+
53
52
[NOTE]
54
53
====
55
54
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.
56
55
====
57
-
--
58
56
+
59
57
* If you set the environmental variables, create a cluster with a single, initial machine pool, using either a publicly or privately available API, and a publicly or privately available Ingress by running the following command:
$ rosa create cluster --cluster-name=<cluster_name> --mode=auto --hosted-cp --operator-roles-prefix=$OPERATOR_ROLES_PREFIX --oidc-config-id=$ODIC_CONFIG --subnet-ids=$SUBNET_IDS
73
71
----
74
-
72
+
+
75
73
. Check the status of your cluster by running the following command:
76
74
+
77
75
[source,terminal]
@@ -90,11 +88,11 @@ The following `State` field changes are listed in the output as the cluster inst
90
88
====
91
89
If the installation fails or the `State` field does not change to `ready` after more than 10 minutes, check the installation troubleshooting documentation for details. For more information, see _Troubleshooting installations_. For steps to contact Red Hat Support for assistance, see _Getting support for Red Hat OpenShift Service on AWS_.
92
90
====
93
-
91
+
+
94
92
. Track the progress of the cluster creation by watching the {product-title} installation program logs. To check the logs, run the following command:
95
93
+
96
94
[source,terminal]
97
95
----
98
-
$ rosa logs install --cluster=<cluster_name> --watch \ <1>
96
+
$ rosa logs install --cluster=<cluster_name> --watch \ <.>
99
97
----
100
-
<1> Optional: To watch for new log messages as the installation progresses, use the `--watch` argument.
98
+
<.> Optional: To watch for new log messages as the installation progresses, use the `--watch` argument.
Copy file name to clipboardExpand all lines: modules/rosa-sts-creating-a-cluster-quickly-cli.adoc
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,20 +39,21 @@ $ rosa create account-roles --mode auto
39
39
====
40
40
When using `auto` mode, you can optionally specify the `-y` argument to bypass the interactive prompts and automatically confirm operations.
41
41
====
42
-
42
+
+
43
43
. Create a cluster with STS using the defaults. When you use the defaults, the latest stable OpenShift version is installed:
44
44
+
45
+
--
45
46
[source,terminal]
46
47
----
47
-
$ rosa create cluster --cluster-name <cluster_name> --sts --mode auto <1>
48
+
$ rosa create cluster --cluster-name <cluster_name> \ <1>
49
+
--sts --mode auto <2>
48
50
----
51
+
49
52
<1> Replace `<cluster_name>` with the name of your cluster.
53
+
<2> When you specify `--mode auto`, the `rosa create cluster` command creates the cluster-specific Operator IAM roles and the OIDC provider automatically. The Operators use the OIDC provider to authenticate.
54
+
include::snippets/rosa-long-cluster-name.adoc[]
55
+
--
50
56
+
51
-
[NOTE]
52
-
====
53
-
When you specify `--mode auto`, the `rosa create cluster` command creates the cluster-specific Operator IAM roles and the OIDC provider automatically. The Operators use the OIDC provider to authenticate.
0 commit comments