New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OADP 3144 - Installing OADP on an AWS STS cluster manually #71534
Conversation
🤖 Thu Mar 28 17:49:37 - Prow CI generated the docs preview: |
4d7bdaf
to
ca8757b
Compare
ca8757b
to
50d0722
Compare
d81564f
to
b381064
Compare
e2a3f96
to
9989091
Compare
d7953e6
to
6bc0fff
Compare
b97037c
to
c89af95
Compare
backup_and_restore/application_backup_and_restore/aws-sts/oadp-aws-sts.adoc
Outdated
Show resolved
Hide resolved
..._and_restore/application_backup_and_restore/oadp-rosa/oadp-rosa-backing-up-applications.adoc
Outdated
Show resolved
Hide resolved
@CarmiWisemon Restic, Kopia and DataMover is not supported in case of AWS STS. We need to add the similar warning we added in ROSA doc. |
Important Important The Data Mover feature is not currently supported for AWS STS clusters. You can use native AWS S3 tools for moving data. @PrasadJoshi12 Do you want both of these admonitions? |
29f59e2
to
b81cb51
Compare
8bda0f3
to
704e109
Compare
/label merge-review-needed |
|
||
To install the OADP Operator in a restricted network environment, you must first disable the default OperatorHub sources and mirror the Operator catalog. See xref:../../../operators/admin/olm-restricted-networks.adoc#olm-restricted-networks[Using Operator Lifecycle Manager on restricted networks] for details. | ||
|
||
You can install {oadp-short} on an AWS {sts-first} (AWS STS) cluster manually. Amazon {aws-short} provides {aws-short} STS as a web service that enables you to request temporary, limited-privilege credentials for users. You use STS to provide trusted users with temporary access to resources via API calls, your {aws-short} console or the {aws-short} command line interface (CLI). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use commas between three or more items in a series, including before the conjunction that introduces the last item, to ensure that readers can clearly separate the items. For example, write "Such functions include storage management, program management, and security". Source: https://www.ibm.com/docs/en/ibm-style?topic=punctuation-commas
You can install {oadp-short} on an AWS {sts-first} (AWS STS) cluster manually. Amazon {aws-short} provides {aws-short} STS as a web service that enables you to request temporary, limited-privilege credentials for users. You use STS to provide trusted users with temporary access to resources via API calls, your {aws-short} console or the {aws-short} command line interface (CLI). | |
You can install {oadp-short} on an AWS {sts-first} (AWS STS) cluster manually. Amazon {aws-short} provides {aws-short} STS as a web service that enables you to request temporary, limited-privilege credentials for users. You use STS to provide trusted users with temporary access to resources via API calls, your {aws-short} console, or the {aws-short} command line interface (CLI). |
|
||
This process is performed in the following two stages: | ||
|
||
. Prepare {aws-short} credentials |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on https://www.ibm.com/docs/en/ibm-style?topic=punctuation-periods#lists
. Prepare {aws-short} credentials | |
. Prepare {aws-short} credentials. |
This process is performed in the following two stages: | ||
|
||
. Prepare {aws-short} credentials | ||
. Install the OADP Operator and give it an IAM role |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
. Install the OADP Operator and give it an IAM role | |
. Install the OADP Operator and give it an IAM role. |
[role="_additional-resources"] | ||
.Additional resources | ||
|
||
* xref:../../../operators/user/olm-installing-operators-in-namespace.adoc#olm-installing-from-operatorhub-using-web-console_olm-installing-operators-in-namespace[Installing from OperatorHub using the web console]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove period here
* xref:../../../operators/user/olm-installing-operators-in-namespace.adoc#olm-installing-from-operatorhub-using-web-console_olm-installing-operators-in-namespace[Installing from OperatorHub using the web console]. | |
* xref:../../../operators/user/olm-installing-operators-in-namespace.adoc#olm-installing-from-operatorhub-using-web-console_olm-installing-operators-in-namespace[Installing from OperatorHub using the web console] |
---- | ||
|
||
+ | ||
[WARNING] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if this would be a WARNING or IMPORTANT admonition? Just a thought.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMPORTANT
|
||
. Retrieve all the details of the `cluster` such as the `AWS_ACCOUNT_ID, OIDC_ENDPOINT` by running the following command: | ||
+ | ||
[source,terminal] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a space between all of these except the last two. Should you add a space there>?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I corrected it.
export AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text) | ||
export ROLE_NAME="${CLUSTER_NAME}-openshift-oadp-aws-cloud-credentials" | ||
---- | ||
. Create a temporary directory to store all the files by running the following command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra space + addition of "of"
. Create a temporary directory to store all the files by running the following command: | |
. Create a temporary directory to store all of the files by running the following command: |
$ export SCRATCH="/tmp/${CLUSTER_NAME}/oadp" | ||
mkdir -p ${SCRATCH} | ||
---- | ||
. Display all the gathered details by running the following command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
. Display all the gathered details by running the following command: | |
. Display all of the gathered details by running the following command: |
---- | ||
$ export POLICY_NAME="OadpVer1" <1> | ||
---- | ||
<1> The variable can be set to any value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What variable? This is just a question. Not sure if there's anything to fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OadpVer1
* xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#backing-up-applications[Backing up applications] | ||
|
||
[id="oadp-aws-sts-backing-up-and-cleaning"] | ||
== Example: Backing up workload on OADP AWS STS, with an optional cleanup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is "Example:" necessary here? I think we can do something like:
== Example: Backing up workload on OADP AWS STS, with an optional cleanup | |
== Backing up workload on OADP AWS STS, with an optional cleanup | |
The following examples. . . |
704e109
to
7a7171c
Compare
/test validate-asciidoc |
b4fde80
to
6e81eaa
Compare
oadp-3144:5/3 1255
6e81eaa
to
9617ee6
Compare
@CarmiWisemon: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/cherry-pick enterprise-4.13 |
/cherry-pick enterprise-4.14 |
/cherry-pick enterprise-4.15 |
/cherry-pick enterprise-4.16 |
@stevsmit: new pull request created: #73903 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@stevsmit: new pull request created: #73904 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@stevsmit: new pull request created: #73905 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@stevsmit: new pull request created: #73906 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
OADP 1.3.1
OCP 4.13 +
Resolves - https://issues.redhat.com/browse/OADP-3144
Deploy preview - https://71534--ocpdocs-pr.netlify.app/openshift-enterprise/latest/backup_and_restore/application_backup_and_restore/aws-sts/oadp-aws-sts