OS Manuals

/usr/bin/csi-addons

Kubernetes CSI-Addons sidecar and CLI that relay CSI-Addons operations (reclaim space, network fencing, volume replication, key rotation) to CSI drivers

From kubernetes-csi-addons 0.15.1-r4 (enterprise-packages), captured 2026-11-08 by running csi-addons --help (exit 0). permalink

  -cidrs string
    	comma separated list of cidrs
  -clusterid string
    	clusterID
  -drivername string
    	name of the CSI driver
  -endpoint string
    	CSI-Addons endpoint (default "unix:///tmp/csi-addons.sock")
  -legacy
    	use legacy format for old Kubernetes versions
  -operation string
    	csi-addons operation
  -parameters string
    	parameters in key=value format separated by commas(Eg:- k1=v1,k2=v2...)
  -persistentvolume string
    	name of the PersistentVolume
  -secret namespace/name
    	kubernetes secret in the format namespace/name
  -stagingpath string
    	staging path (default "/var/lib/kubelet/plugins/kubernetes.io/csi/")
  -version
    	print Version details
  -volumegroupid string
    	ID of the volume group
  -volumegroupname string
    	name of the Volume Group to be created
  -volumegroupreplicationcontent string
    	name of the VolumeGroupReplicationContent
  -volumeids string
    	comma separated list of VolumeIds

The following operations are supported:
 - EnableVolumeReplication
 - PromoteVolume
 - EncryptionKeyRotation
 - GetCapabilities
 - ResyncVolume
 - CreateVolumeGroup
 - GetIdentity
 - ModifyVolumeGroupMembership
 - Probe
 - NetworkFence
 - NetworkUnFence
 - DisableVolumeReplication
 - DemoteVolume
 - GetVolumeReplicationInfo
 - DeleteVolumeGroup
 - ControllerGetVolumeGroup
 - ControllerReclaimSpace
 - NodeReclaimSpace
Options (15)
OptionDescriptionSource
-cidrs stringcomma separated list of cidrshelp
-clusterid stringclusterIDhelp
-drivername stringname of the CSI driverhelp
-endpoint stringCSI-Addons endpoint (default "unix:///tmp/csi-addons.sock")help
-legacyuse legacy format for old Kubernetes versionshelp
-operation stringcsi-addons operationhelp
-parameters stringparameters in key=value format separated by commas(Eg:- k1=v1,k2=v2...)help
-persistentvolume stringname of the PersistentVolumehelp
-secret namespace/namekubernetes secret in the format namespace/namehelp
-stagingpath stringstaging path (default "/var/lib/kubelet/plugins/kubernetes.io/csi/")help
-versionprint Version detailshelp
-volumegroupid stringID of the volume grouphelp
-volumegroupname stringname of the Volume Group to be createdhelp
-volumegroupreplicationcontent stringname of the VolumeGroupReplicationContenthelp
-volumeids stringcomma separated list of VolumeIdshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.