Cluster Commands

This section documents commands for setting up and managing DirectPV installations.

Available commands

Command Description
discover Scan nodes for available drives and generate configuration
init Format and initialize drives for DirectPV management
info Display DirectPV installation information
install Deploy DirectPV components to Kubernetes
uninstall Remove DirectPV from Kubernetes

Typical workflow

  1. Install DirectPV in your Kubernetes cluster using install or Helm.
  2. Discover available drives across nodes using discover.
  3. Review the generated drives.yaml file and remove drives you do not want formatted.
  4. Initialize selected drives using init.
  5. Verify the installation using info.