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: EKS/Backup-EKS-Applications-with-Trident-Protect/README.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Migrate and Backup EKS Applications with Trident Protect
1
+
# Backup EKS Applications with Trident Protect
2
2
3
-
This is a sample for setting up your Kubernetes application to be backed up by Trident Protect with an option to migrate it from one storage class to another.
3
+
This is a sample for setting up your Kubernetes application to be backed up by Trident Protect.
4
4
5
5
## Prerequisites:
6
6
The following items should be already be deployed before install Trident Protect.
@@ -19,15 +19,15 @@ The following are the steps required before you can use Trident Protect to backu
1.[Create Kubernetes secret for S3 bucket](#7-create-a-kubernetes-secret-for-the-s3-bucket)
27
27
28
28
### 1. Make sure Trident Backend is configured correctly
29
29
30
-
Run the follwing kubectl commands to check if TridentBackendConfig for ontap-san and ontap-nas exists and configured correctly. These commands should output the name of any matching TridentBackendConfigs:
30
+
Run the following kubectl commands to confirm that the TridentBackendConfig for ontap-san and ontap-nas exist and are configured correctly. These commands should output the name of any matching TridentBackendConfigs:
If no matching TridentBackendConfig resources are found, you will need to create them. Refer to the prerequisites section above for more information on how to do that.
43
43
44
44
### 2. Make Sure Trident CSI Drivers for NAS and SAN are Installed
45
-
Run the follwing kubectl commands to check that a storageclass exist for both SAN and NAS type storage.
45
+
Run the following kubectl commands to check that a storage class exist for both SAN and NAS type storage.
46
46
47
47
#### SAN StorageClass
48
-
Checks for StorageClasses in Kubernetes that use 'ontap-san' as their backend type. It outputs the name of any matching StorageClass:
48
+
Checks for storage classes in Kubernetes that use 'ontap-san' as their backend type. It outputs the name of any matching StorageClass:
49
49
```bash
50
50
kubectl get storageclass -o jsonpath='{.items[?(@.parameters.backendType=="ontap-san")].metadata.name}'
51
51
```
52
52
53
53
#### NAS Driver
54
-
Checks for StorageClasses in Kubernetes that use 'ontap-nas' as their backend type. It outputs the name of any matching StorageClass:
54
+
Checks for storage classes in Kubernetes that use 'ontap-nas' as their backend type. It outputs the name of any matching StorageClass:
55
55
```bash
56
56
kubectl get storageclass -o jsonpath='{.items[?(@.parameters.backendType=="ontap-nas")].metadata.name}'
Execute the following commands to install Trident Protect. For more info please consult official [Trident Protect documentation](https://docs.netapp.com/us-en/trident/trident-protect/trident-protect-installation.html).
105
+
Execute the following commands to install Trident Protect. For more information please consult official [Trident Protect documentation](https://docs.netapp.com/us-en/trident/trident-protect/trident-protect-installation.html).
@@ -247,7 +247,7 @@ There are two ways to restore a backup:
247
247
-[Restore backup to a different namespace](#restore-backup-to-a-different-namespace)
248
248
249
249
### Restore backup to the same namespace
250
-
To restore your appilcation in the same namespace, create an `BackupInPlaceRestore` configuration file named `trident-restore-inplace.yaml` with the following contents:
250
+
To restore your application in the same namespace, create an `BackupInPlaceRestore` configuration file named `trident-restore-inplace.yaml` with the following contents:
There are a lot of other features and options available with Trident Protect that are not covered here, for example:
328
328
- Creating zero space snapshots of your application.
329
-
- Restoring backups to a different storage class and therefore migrate the data from one storage class to another. You can refer to this [PV Migrate with Trident Protect](https://github.com/NetApp/FSx-ONTAP-samples-scripts/tree/main/EKS/FSxN-as-PVC-for-EKS) for an example of how to do that.
329
+
- Restoring backups to a different storage class and therefore migrate the data from one storage class to another.
330
+
You can refer to this [PV Migrate with Trident Protect](https://github.com/NetApp/FSx-ONTAP-samples-scripts/tree/main/EKS/PV-Migrate-with-Trident-Protect) for an example of how to do that.
330
331
- Scheduling backups.
331
332
- Replicating backups to another FSxN file system with SnapMirror.
Copy file name to clipboardExpand all lines: EKS/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,9 @@ This subfolder contains samples that can help you create solutions using AWS EKS
3
3
4
4
| Tool | Description |
5
5
| --- | --- |
6
+
|[Backup EKS Applications with Trident Protect](/EKS/Backup-EKS-Applications-with-Trident-Protect)| This sample shows how to backup and restore PVCs in an EKS cluster using Trident Protect. |
6
7
|[FSxN as PVC for EKS](/EKS/FSxN-as-PVC-for-EKS)| This sample shows how to create a sandbox environment that demonstrates how to use FSx for NetApp ONTAP as a persistent storage for an EKS cluster. |
8
+
|[PV Migrate with Trident Protect](/EKS/PV-Migrate-with-Trident-Protect)| This sample shows how to backup and restore PVCs in an EKS cluster using Trident Protect. |
0 commit comments