Katbox is an inline ephemeral volume manager with delayed deletion for Kubernetes.
It is inspired by the "Sandbox" functionality provided by Apache Mesos.
- Kubernetes cluster
- Running version 1.18 or later
- Access to terminal with
kubectl
installed
Deployment varies depending on the Kubernetes version your cluster is running:
Assuming katbox has been successfully deployed, the following example can be run using kubectl
:
$ kubectl apply -f https://github.com/raw/paypal/katbox/main/examples/csi-app-inline.yaml
To build the driver, run the following command from the root of the repository:
make
To build a docker image to be used on a kubernetes cluster, run the following command from the root of the repository:
docker build . -t <image name>
A high level overview of how katbox works can be found here
A closer look at how the creation and deletion of volumes works can be found here
This project was initially a fork of CSI Hostpath driver.