Skip to content

Commit 31c2f46

Browse files
authored
Merge pull request #83559 from EricPonvelle/rosa_hcp_migration-integration
Integrates the ROSA with HCP migration back into the main branch
2 parents 2cac280 + f39cdd0 commit 31c2f46

File tree

84 files changed

+1156
-2119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+1156
-2119
lines changed

_topic_maps/_topic_map_rosa_hcp.yml

Lines changed: 23 additions & 1627 deletions
Large diffs are not rendered by default.

cloud_experts_tutorials/cloud-experts-deploying-application/cloud-experts-deploying-application-prerequisites.adoc

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,27 @@ toc::[]
1313

1414
. A Provisioned ROSA cluster
1515
+
16-
This lab assumes you have access to a successfully provisioned a ROSA cluster. If you have not yet created a ROSA cluster, see xref:../../rosa_getting_started/rosa-quickstart-guide-ui.adoc#rosa-getting-started-prerequisites_rosa-quickstart-guide-ui[Red{nbsp}Hat OpenShift Service on AWS quick start guide] for more information.
16+
ifdef::openshift-rosa-hcp[]
17+
This lab assumes you have access to a successfully provisioned a ROSA cluster. If you have not yet created a ROSA cluster, see xref:../../rosa_hcp/rosa-hcp-quickstart-guide.adoc#rosa-getting-started-environment-setup_rosa-hcp-quickstart-guide[ROSA with HCP quick start guide] for more information.
18+
endif::openshift-rosa-hcp[]
19+
ifdef::openshift-rosa[]
20+
This lab assumes you have access to a successfully provisioned a ROSA cluster. If you have not yet created a ROSA cluster, see xref:../../rosa_getting_started/rosa-quickstart-guide-ui.adoc#rosa-getting-started-environment-setup_rosa-quickstart-guide-ui[ROSA quick start guide] for more information.
21+
endif::openshift-rosa[]
1722

1823
. The OpenShift Command Line Interface (CLI)
1924
+
20-
For more information, see xref:../../cli_reference/openshift_cli/getting-started-cli.adoc#cli-getting-started[Getting started with the OpenShift CLI].
25+
For more information, see
26+
ifdef::openshift-rosa-hcp[]
27+
link:https://docs.openshift.com/rosa/cli_reference/openshift_cli/getting-started-cli.html#cli-getting-started[Getting started with the OpenShift CLI].
28+
endif::openshift-rosa-hcp[]
29+
ifndef::openshift-rosa-hcp[]
30+
xref:../../cli_reference/openshift_cli/getting-started-cli.adoc#cli-getting-started[Getting started with the OpenShift CLI].
31+
endif::openshift-rosa-hcp[]
2132

2233
. A GitHub Account
2334
+
2435
Use your existing GitHub account or register at link:https://github.com/signup[https://github.com/signup].
36+
37+
include::modules/rosa-sts-understanding-aws-account-association.adoc[leveloffset=+2]
38+
[discrete]
39+
include::modules/rosa-sts-associating-your-aws-account.adoc[leveloffset=+2]

cloud_experts_tutorials/cloud-experts-getting-started/cloud-experts-getting-started-admin-rights.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ Red{nbsp}Hat offers two types of admin privileges:
1717
1818
* `dedicated-admin`: `dedicated-admin` privileges allow the admin user to complete most administrative tasks with certain limitations to prevent cluster damage. It is best practice to use `dedicated-admin` when elevated privileges are needed.
1919
20-
For more information on admin privileges, see the xref:../../rosa_install_access_delete_clusters/rosa-sts-accessing-cluster.adoc#rosa-create-cluster-admins_rosa-sts-accessing-cluster[administering a cluster] documentation.
20+
For more information on admin privileges, see the
21+
ifdef::openshift-rosa-hcp[]
22+
link:https://docs.openshift.com/rosa/rosa_install_access_delete_clusters/rosa-sts-accessing-cluster.html#rosa-create-cluster-admins_rosa-sts-accessing-cluster[administering a cluster] documentation.
23+
endif::openshift-rosa-hcp[]
24+
ifndef::openshift-rosa-hcp[]
25+
xref:../../rosa_install_access_delete_clusters/rosa-sts-accessing-cluster.adoc#rosa-create-cluster-admins_rosa-sts-accessing-cluster[administering a cluster] documentation.
26+
endif::openshift-rosa-hcp[]
2127

2228
== Using the ROSA CLI
2329

cloud_experts_tutorials/cloud-experts-getting-started/cloud-experts-getting-started-admin.adoc

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ Creating an administration (admin) user allows you to access your cluster quickl
1313

1414
[NOTE]
1515
====
16-
An admin user works well in this tutorial setting. For actual deployment, use a xref:../../authentication/sd-configuring-identity-providers.adoc#sd-configuring-identity-providers[formal identity provider] to access the cluster and grant the user admin privileges.
16+
An admin user works well in this tutorial setting. For actual deployment, use a
17+
ifdef::openshift-rosa-hcp[]
18+
link:https://docs.openshift.com/rosa/authentication/sd-configuring-identity-providers.html#sd-configuring-identity-providers[formal identity provider] to access the cluster and grant the user admin privileges.
19+
endif::openshift-rosa-hcp[]
20+
ifndef::openshift-rosa-hcp[]
21+
xref:../../authentication/sd-configuring-identity-providers.adoc#sd-configuring-identity-providers[formal identity provider] to access the cluster and grant the user admin privileges.
22+
endif::openshift-rosa-hcp[]
1723
====
1824

1925
. Run the following command to create the admin user:
@@ -80,4 +86,10 @@ oc get all -n openshift-apiserver
8086
+
8187
Only an admin user can run this command without errors.
8288
83-
. You can now use the cluster as an admin user, which will suffice for this tutorial. For actual deployment, it is highly recommended to set up an identity provider, which is explained in the xref:../../cloud_experts_tutorials/cloud-experts-getting-started/cloud-experts-getting-started-idp.adoc#cloud-experts-getting-started-idp[next tutorial].
89+
. You can now use the cluster as an admin user, which will suffice for this tutorial. For actual deployment, it is highly recommended to set up an identity provider, which is explained in the
90+
ifdef::openshift-rosa-hcp[]
91+
link:https://docs.openshift.com/rosa/cloud_experts_tutorials/cloud-experts-getting-started/cloud-experts-getting-started-idp.html#cloud-experts-getting-started-idp[next tutorial].
92+
endif::openshift-rosa-hcp[]
93+
ifndef::openshift-rosa-hcp[]
94+
xref:../../cloud_experts_tutorials/cloud-experts-getting-started/cloud-experts-getting-started-idp.adoc#cloud-experts-getting-started-idp[next tutorial].
95+
endif::openshift-rosa-hcp[]

cloud_experts_tutorials/cloud-experts-rosa-hcp-activation-and-account-linking-tutorial.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,13 @@ image::rosa-cli-ui-12.png[]
140140

141141
[IMPORTANT]
142142
====
143-
Make sure that you have the most recent ROSA command line interface (CLI) and AWS CLI installed and have completed the ROSA prerequisites covered in the previous section. See xref:../cli_reference/rosa_cli/rosa-get-started-cli.adoc#rosa-get-started-cli[Help with ROSA CLI setup] and link:https://aws.amazon.com/cli/[Instructions to install the AWS CLI] for more information.
143+
Make sure that you have the most recent ROSA command line interface (CLI) and AWS CLI installed and have completed the ROSA prerequisites covered in the previous section. See
144+
ifdef::openshift-rosa-hcp[]
145+
link:https://docs.openshift.com/rosa/cli_reference/rosa_cli/rosa-get-started-cli.html#rosa-get-started-cli[Help with ROSA CLI setup] and link:https://aws.amazon.com/cli/[Instructions to install the AWS CLI] for more information.
146+
endif::openshift-rosa-hcp[]
147+
ifndef::openshift-rosa-hcp[]
148+
xref:../cli_reference/rosa_cli/rosa-get-started-cli.adoc#rosa-get-started-cli[Help with ROSA CLI setup] and link:https://aws.amazon.com/cli/[Instructions to install the AWS CLI] for more information.
149+
endif::openshift-rosa-hcp[]
144150
====
145151

146152
. Initiate the cluster deployment using the `rosa create cluster` command. You can click the *copy* button on the link:https://console.redhat.com/openshift/create/rosa/getstarted[Set up Red{nbsp}Hat OpenShift Service on AWS (ROSA) console page] and paste the command in your terminal. This launches the cluster creation process in interactive mode:

extensions/catalogs/creating-catalogs.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ include::modules/olm-creating-fb-catalog-image.adoc[leveloffset=+1]
2323
* xref:../../cli_reference/opm/cli-opm-ref.adoc#cli-opm-ref[`opm` CLI reference]
2424
2525
include::modules/olm-filtering-fbc.adoc[leveloffset=+1]
26-
ifndef::openshift-dedicated,openshift-rosa[]
26+
ifndef::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]
2727
[role="_additional-resources"]
2828
.Additional resources
2929
3030
* xref:../../operators/understanding/olm-packaging-format.adoc#olm-deprecations-schema_olm-packaging-format[Packaging format -> Schemas -> olm.deprecations schema]
3131
* xref:../../disconnected/mirroring/installing-mirroring-disconnected.adoc#updating-mirror-registry-content[Mirroring images for a disconnected installation using the oc-mirror plugin -> Keeping your mirror registry content updated]
3232
* xref:../../disconnected/using-olm.adoc#olm-creating-catalog-from-index_olm-restricted-networks[Adding a catalog source to a cluster]
33-
endif::openshift-dedicated,openshift-rosa[]
33+
endif::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]

modules/configuring-machine-pool-disk-volume-cli.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
----
1919
$ rosa create cluster --worker-disk-size=<disk_size>
2020
----
21-
The value can be in GB, GiB, TB, or TiB. Replace '<disk_size>' with a numeric value and unit, for example '--worker-disk-size=200GiB'. You cannot separate the digit and the unit. No spaces are allowed.
21+
The value can be in GB, GiB, TB, or TiB. Replace `<disk_size>` with a numeric value and unit, for example `--worker-disk-size=200GiB`. You cannot separate the digit and the unit. No spaces are allowed.
2222
2323
.Prerequisite for machine pool creation
2424

@@ -30,9 +30,9 @@ The value can be in GB, GiB, TB, or TiB. Replace '<disk_size>' with a numeric va
3030
+
3131
[source,terminal]
3232
----
33-
$ rosa create machinepool --cluster=<cluster_id> <1>
34-
--disk-size=<disk_size> <2>
33+
$ rosa create machinepool --cluster=<cluster_id> \// <1>
34+
--disk-size=<disk_size> // <2>
3535
----
36-
<1> Specifies the ID or name of your existing OpenShift cluster
37-
<2> Specifies the worker node disk size. The value can be in GB, GiB, TB, or TiB. Replace '<disk_size>' with a numeric value and unit, for example '--disk-size=200GiB'. You cannot separate the digit and the unit. No spaces are allowed.
36+
<1> Specifies the ID or name of your existing OpenShift cluster.
37+
<2> Specifies the worker node disk size. The value can be in GB, GiB, TB, or TiB. Replace `<disk_size>` with a numeric value and unit, for example `--disk-size=200GiB`. You cannot separate the digit and the unit. No spaces are allowed.
3838
. Confirm new machine pool disk volume size by logging into the AWS console and find the EC2 virtual machine root volume size.

0 commit comments

Comments
 (0)