vhsm plugin reload

Learn to reload a monted plugin backend in vHSM.

The plugin reload command is used to reload mounted plugin backends in vHSM. This is useful when you’ve updated or replaced a plugin binary and want to ensure the new version is used without restarting vHSM.

You must specify either the plugin name (-plugin) or the specific mount paths (-mounts) to reload—but not both at the same time. When using -plugin, all mounted paths using that plugin will be reloaded automatically.

Usage

vhsm plugin reload [options]

Available Flags

Command options

Flag
Description

-plugin=<string>

Name of the plugin to reload (as registered in the plugin catalog).

-mounts=<array>

One or more mount paths of plugin backends to reload (can be comma-separated or multiple flags).

-scope=<string>

Scope of the reload. Leave empty for local reloads. Use global for multi-cluster reloads.

Examples

  • Reload a plugin by name: vhsm plugin reload -plugin=my-custom-plugin

Success! Reloaded plugin: my-custom-plugin
  • Reload multiple auth plugin mounts:

vhsm plugin reload \
  -mounts=auth/my-custom-plugin-1 \
  -mounts=auth/my-custom-plugin-2
Success! Reloaded mounts: [auth/my-custom-plugin-1/ auth/my-custom-plugin-2/]

Last updated

Was this helpful?