Scripts and Tools

MinIO provides several bash scripts and tools that can be used to manage your DirectPV installation.

Prerequisite

DirectPV plugin

The scripts on this page require the DirectPV plugin command line tool. If not already installed, use the download-plugin.sh script to download either the latest or a specific version of the DirectPV command line plugin tool.

Drive management

Replace a drive

Use the replace.sh script if you need to replace a failed DirectPV drive.

Repair a drive

Use the repair.sh script to repair a faulty DirectPV drive.

Node management

Risk of data loss
This script is destructive and irreversible. Use with extreme caution and with the support of MinIO Engineers from SUBNET to prevent data loss.

Use the remove-node.sh script to remove all resources from a DirectPV node.

Add a storage class

Use the create-storage-class.sh script to create a custom storage class for DirectPV.

Image management

Local registry

Use the push-images.sh script to collect the images for DirectPV and its sidecars and push them to your local registry.

Security profiles

AppArmor

Download the apparmor.profile if you use AppArmor profile for Kubernetes.

If used, pass respective pod annotations to the Node Server DaemonSet.

Seccomp

Download the seccomp.json if you use a Secure Computing profile for Kubernetes.

If used, pass the profile filename to the Node Server DaemonSet.

All Rights Reserved 2024-Present, MinIO, Inc.