Skip to content

Latest commit

 

History

History

velero-aws

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Velero AWS

This Velero deployment is ready to be deployed in any AWS cluster as it includes the AWS Velero plugin.

Image repository and tag

Requirements

This deployment requires to have previously created the following resources:

  • cloud-credentials Kubernetes Secret in the kube-system namespace.
  • default BackupStorageLocation in the kube-system namespace.

Cloud Credentials

This Fury Core module contains a terraform module designed to generate every file needed by this deployment including the Cloud Credentials file.

$ terraform init
# omitted output
$ terraform apply
# omitted output
$ terraform output -raw cloud_credentials > /tmp/cloud_credentials.yaml
# omitted output

Then you are ready to apply this file in the kube-system namespace:

$ kubectl apply -f /tmp/cloud_credentials.yaml -n kube-system
secret/cloud-credentials created

Default BackupStorageLocation

As this deployment creates a Schedule it's required to have a BackupStorageLocation named default to automate the manifests backup creation.

Again, the terraform module provided with this deployment creates it as terraform output:

$ terraform init
$ terraform apply
$ terraform output -raw backup_storage_location > /tmp/backup_storage_location.yaml
$ cat /tmp/backup_storage_location.yaml
apiVersion: velero.io/v1
kind: BackupStorageLocation
metadata:
  name: default
spec:
  provider: velero.io/aws
  objectStorage:
    bucket: bucket-name-storing-kubernetes-manifests
  config:
    region: aws-region-10

Then you are ready to apply this file in the kube-system namespace:

$ kubectl apply -f /tmp/backup_storage_location.yaml -n kube-system
# omitted output

Deployment

You can deploy Velero AWS by running the following command in the root of this project:

$ kustomize build | kubectl apply -f -
# omitted output

License

For license details please see LICENSE