Skip to content

Kubernetes volume provisioner that uses BTRFS subvolumes

License

Notifications You must be signed in to change notification settings

ferringb/btrfs-provisioner

Repository files navigation

btrfs-provisioner for Kubernetes

This is a (work in progress) volume provisioner for Kubernetes leveraging the BTRFS filesystem to create volumes, enforce storage quotas, create snapshots and make backups.

What works…

  • Volume provisioning
  • Volume deletion
  • Enforcing storage quotas

…and what doesn't (yet)

Getting started

Prerequisites

  • A running K8s cluster
  • A BTRFS directory or filesystem at /volumes.

Installation

There are only plain Kubernetes manifests yet. A Helm chart should come soon when the provisioner reaches a stable state.

To deploy and test the BTRFS provisioner in your cluster, deploy the manifests in the deploy directory:

kubectl apply -f deploy/meta.yaml
kubectl apply -f deploy/controller.yaml

About

Kubernetes volume provisioner that uses BTRFS subvolumes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 97.8%
  • Dockerfile 1.9%
  • Shell 0.3%