Document about item action plugin ordering. (#6719)

Signed-off-by: Raghuram Devarakonda <draghuram@gmail.com>
pull/6924/head
Raghuram Devarakonda 2023-10-06 16:11:24 -04:00 committed by GitHub
parent 0d4e61eb24
commit b7cc62d077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -59,6 +59,11 @@ Velero supports the following kinds of plugins:
- **Restore Item Action** - executes arbitrary logic for individual items prior to restoring them into a cluster
- **Delete Item Action** - executes arbitrary logic based on individual items within a backup prior to deleting the backup
Plugin binaries are discovered by recursively reading a directory in no particular order. Hence no guarantee is provided for the
order in which item action plugins are invoked. However, if a single binary implements multiple item action plugins,
they may be invoked in the order in which they are registered but it is best to not depend on this
implementation. This is not guaranteed officially and the implementation can change at any time.
## Plugin Logging
Velero provides a [logger][2] that can be used by plugins to log structured information to the main Velero server log or