-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OADP-3399: Reworking OpenShift KubeVirt OADP docs #72372
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
:_mod-docs-content-type: ASSEMBLY | ||
[id="installing-oadp-kubevirt"] | ||
// If docs team approves the name, "Configuring OADP with Kubevirt" great but I suspect it will need to be "Configuring OADP with OpenShift Virtualization" or "Configuring OADP with Virtualization" or perhaps... bear with me.. "OADP and OpenShift-Virtualization" | ||
= Configuring the {oadp-full} with {VirtProductName} | ||
include::_attributes/common-attributes.adoc[] | ||
:context: installing-oadp-kubevirt | ||
:installing-oadp-kubevirt: | ||
:credentials: cloud-credentials | ||
:provider: kubevirt | ||
anarnold97 marked this conversation as resolved.
Show resolved
Hide resolved
anarnold97 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
toc::[] | ||
|
||
You can install the {oadp-first} with {VirtProductName} by installing the OADP Operator and configuring a backup location. Then, you can install the Data Protection Application. | ||
|
||
// include::snippets/oadp-mtc-operator.adoc[] | ||
|
||
Back up and restore virtual machines by using the xref:../../../backup_and_restore/index.adoc#application-backup-restore-operations-overview[{oadp-full}]. | ||
|
||
[NOTE] | ||
==== | ||
{oadp-full} with {VirtProductName} supports the following backup and restore storage options: | ||
|
||
* Container Storage Interface (CSI) backups | ||
|
||
* Container Storage Interface (CSI) backups with DataMover | ||
|
||
The following storage options are excluded: | ||
|
||
* File system backup and restore | ||
|
||
* Volume snapshot backups and restores | ||
|
||
For more information, see xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/oadp-backing-up-applications-restic-doc.adoc#oadp-backing-up-applications-restic-doc[Backing up applications with File System Backup: Kopia or Restic]. | ||
anarnold97 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
==== | ||
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. | ||
|
||
include::modules/install-and-configure-oadp-kubevirt.adoc[leveloffset=+1] | ||
|
||
[role="_additional-resources"] | ||
.Additional resources | ||
|
||
* xref:../../../backup_and_restore/application_backup_and_restore/oadp-features-plugins.adoc#oadp-plugins_oadp-features-plugins[{oadp-short} plugins] | ||
* xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc#backing-up-applications[`Backup` custom resource (CR)] | ||
* xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/restoring-applications.adoc#restoring-applications[`Restore` CR] | ||
* xref:../../../operators/admin/olm-restricted-networks.adoc#olm-restricted-networks[Using Operator Lifecycle Manager on restricted networks] | ||
|
||
include::modules/oadp-installing-dpa-1-3.adoc[leveloffset=+1] | ||
|
||
[IMPORTANT] | ||
anarnold97 marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this is important, why is it the last thing in the assembly? If it is something that a reader needs to know about this process, hoist it up. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 Max. A support statement is important and lobbing it at the bottom could lead customers down a path they can't actually take in the end. |
||
.{oadp-short} 1.2 | ||
==== | ||
Red Hat only supports the combination of {oadp-short} versions 1.3.0 and later, and {VirtProductName} versions 4.14 and later. | ||
|
||
{oadp-short} versions before 1.3.0 are not supported for back up and restore of {VirtProductName}. | ||
==== | ||
|
||
|
||
:!installing-oadp-kubevirt: |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,8 +42,14 @@ include::modules/oadp-installing-dpa-1-2-and-earlier.adoc[leveloffset=+1] | |
include::modules/oadp-installing-dpa-1-3.adoc[leveloffset=+1] | ||
include::modules/oadp-enabling-csi-dpa.adoc[leveloffset=+2] | ||
|
||
|
||
anarnold97 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[discrete] | ||
[role="_additional-resources"] | ||
.Additional resources | ||
|
||
|
||
* link:https://access.redhat.com/solutions/6719951[Performance tuning guide for Multicloud Object Gateway]. | ||
|
||
* xref:../../../backup_and_restore/application_backup_and_restore/installing/installing-oadp-kubevirt.adoc#oadp-installing-dpa-1-3_installing-oadp-kubevirt[Installing the Data Protection Application with the `kubevirt` and `openshift` plugins] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this xref supposed to be like the one on the file that follows @ line 52? If so, the same comment applies about having the plugin link on a separate line. |
||
|
||
:installing-oadp-mcg!: | ||
anarnold97 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-kubevirt.adoc | ||
|
||
:_mod-docs-content-type: PROCEDURE | ||
[id="install-and-configure-oadp-kubevirt_{context}"] | ||
= Installing and configuring {oadp-short} with {VirtProductName} | ||
|
||
As a cluster administrator, you install {oadp-short} by installing the {oadp-short} Operator. | ||
|
||
The Operator installs link:https://velero.io/docs/v{velero-version}[Velero {velero-version}]. | ||
|
||
.Prerequisites | ||
|
||
* Access to the cluster as a user with the `cluster-admin` role. | ||
|
||
.Procedure | ||
|
||
. Install the {oadp-short} Operator according to the instructions for your storage provider. | ||
anarnold97 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
. Install the Data Protection Application (DPA)] with the `kubevirt` and `openshift` {oadp-short} plugins. | ||
|
||
. Back up virtual machines by creating a `Backup` custom resource (CR). | ||
|
||
+ | ||
[WARNING] | ||
==== | ||
Red Hat support is limited to only the following options: | ||
|
||
* CSI backups | ||
|
||
* CSI backups with DataMover. | ||
==== | ||
|
||
You restore the `Backup` CR by creating a `Restore` CR. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-gcp.adoc | ||
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-mcg.adoc | ||
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.adoc | ||
|
||
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-kubevirt.adoc | ||
|
||
:_mod-docs-content-type: PROCEDURE | ||
[id="oadp-installing-dpa-1-3_{context}"] | ||
|
@@ -321,7 +321,7 @@ spec: | |
<14> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes. | ||
endif::[] | ||
|
||
ifdef::virt-installing-configuring-oadp[] | ||
ifdef::installing-oadp-kubevirt,virt-installing-configuring-oadp[] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you provide the other preview link to compare for this ifdef? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you! |
||
+ | ||
[source,yaml,subs="attributes+"] | ||
---- | ||
|
@@ -371,6 +371,7 @@ spec: | |
<14> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes. | ||
endif::[] | ||
|
||
|
||
. Click *Create*. | ||
|
||
.Verification | ||
|
Uh oh!
There was an error while loading. Please reload this page.