
Longhorn Has a Free API — Cloud-Native Storage for Kubernetes
Longhorn is the CNCF lightweight distributed block storage system for Kubernetes. It turns your cluster nodes' disks into a highly available storage pool with snapshots, backups, and disaster recovery. Free, open source, and backed by SUSE/Rancher. No license keys, no storage fees. Why Use the Longhorn API? Distributed block storage — replicated across nodes for HA Automated snapshots — recurring snapshot schedules via API Disaster recovery — backup to S3/NFS with one API call Volume management — create, resize, and clone volumes programmatically Quick Setup 1. Install Longhorn helm repo add longhorn https://charts.longhorn.io helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace # Access UI kubectl port-forward -n longhorn-system svc/longhorn-frontend 8080:80 2. List Volumes LONGHORN_URL = "http://localhost:8080" curl -s " $LONGHORN_URL /v1/volumes" | jq '.data[] | {name: .name, size: .size, state: .state, robustness: .robustness, replicas: (.numberOfR
Continue reading on Dev.to DevOps
Opens in a new tab



