Velero currently supports the following kinds of plugins:
- Backup Item Action - performs arbitrary logic on individual items prior to storing them in the backup file.
- Restore Item Action - performs arbitrary logic on individual items prior to restoring them in the Kubernetes cluster.
To build the plugins, run
$ make
To build the image, run
$ make container
This builds an image tagged as docker.io/konveyor/openshift-velero-plugin
. If you want to specify a
different name, run
$ make container IMAGE=your-repo/your-name:here
To deploy your plugin image to an Velero server:
- Make sure your image is pushed to a registry that is accessible to your cluster's nodes.
- Run
velero plugin add <image>
, e.g.velero plugin add quay.io/ocpmigrate/velero-plugin