-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #211 from NetApp/add_trident_protect
Add trident protect
- Loading branch information
Showing
22 changed files
with
860 additions
and
25 deletions.
There are no files selected for viewing
355 changes: 355 additions & 0 deletions
355
EKS/Backup-EKS-Applications-with-Trident-Protect/README.md
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
EKS/Backup-EKS-Applications-with-Trident-Protect/ebs-volume-storage-class.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: snapshot.storage.k8s.io/v1 | ||
kind: VolumeSnapshotClass | ||
metadata: | ||
name: ebs-csi-snapclass | ||
driver: ebs.csi.aws.com | ||
deletionPolicy: Delete |
8 changes: 8 additions & 0 deletions
8
EKS/Backup-EKS-Applications-with-Trident-Protect/trident-application.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: protect.trident.netapp.io/v1 | ||
kind: Application | ||
metadata: | ||
name: <APP NAME> | ||
namespace: <APP NAMESPACE> | ||
spec: | ||
includedNamespaces: | ||
- namespace: <APP NAMESPACE> |
8 changes: 8 additions & 0 deletions
8
EKS/Backup-EKS-Applications-with-Trident-Protect/trident-backup.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: protect.trident.netapp.io/v1 | ||
kind: Backup | ||
metadata: | ||
namespace: <APP NAMESPACE> | ||
name: <APP BACKUP NAME> | ||
spec: | ||
applicationRef: <APP NAME> | ||
appVaultRef: <APP VAULT NAME> |
11 changes: 11 additions & 0 deletions
11
EKS/Backup-EKS-Applications-with-Trident-Protect/trident-restore-diff-ns.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: protect.trident.netapp.io/v1 | ||
kind: BackupRestore | ||
metadata: | ||
name: <APP RESTORE NAME> | ||
namespace: <DESTINATION NAMESPACE> | ||
spec: | ||
appArchivePath: <APP ARCHIVE PATH> | ||
appVaultRef: <APP VAULT NAME> | ||
namespaceMapping: | ||
- source: <SOURCE NAMESPACE> | ||
destination: <DESTINATION NAMESPACE> |
8 changes: 8 additions & 0 deletions
8
EKS/Backup-EKS-Applications-with-Trident-Protect/trident-restore-inplace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: protect.trident.netapp.io/v1 | ||
kind: BackupInplaceRestore | ||
metadata: | ||
name: <APP BACKUP RESTORE NAME> | ||
namespace: <APP NAMESPACE> | ||
spec: | ||
appArchivePath: <APP ARCHIVE PATH> | ||
appVaultRef: <APP VAULT NAME> |
20 changes: 20 additions & 0 deletions
20
EKS/Backup-EKS-Applications-with-Trident-Protect/trident-vault.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: protect.trident.netapp.io/v1 | ||
kind: AppVault | ||
metadata: | ||
name: <APP VAULT NAME> | ||
namespace: trident-protect | ||
spec: | ||
providerType: AWS | ||
providerConfig: | ||
s3: | ||
bucketName: <APP VAULT BUCKET NAME> | ||
endpoint: <S3 ENDPOINT> | ||
providerCredentials: | ||
accessKeyID: | ||
valueFromSecret: | ||
key: accessKeyID | ||
name: s3 | ||
secretAccessKey: | ||
valueFromSecret: | ||
key: secretAccessKey | ||
name: s3 |
8 changes: 8 additions & 0 deletions
8
EKS/Backup-EKS-Applications-with-Trident-Protect/trident-volume-storage-class.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: snapshot.storage.k8s.io/v1 | ||
kind: VolumeSnapshotClass | ||
metadata: | ||
name: trident-csi-snapclass | ||
annotations: | ||
snapshot.storage.kubernetes.io/is-default-class: "true" | ||
driver: csi.trident.netapp.io | ||
deletionPolicy: Delete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
aws_region="us-west-2" | ||
aws_secrets_region="us-west-2" | ||
fsx_name="eks-poc-fsx" | ||
key_pair_name="MUST REPLACE WITH YOUR KEY PAIR NAME" | ||
secure_ips=["0.0.0.0/0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.