mirror of
https://github.com/kastenhq/kubestr.git
synced 2024-12-14 11:57:56 +00:00
No description
.github/workflows | ||
cmd | ||
docs | ||
extra | ||
pkg | ||
scripts | ||
.gitignore | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
README.md |
Kubestr
Discover your kubernetes storage options.
What is it?
Kubestr is a collection of tools to discover, validate and evaluate your kubernetes storage options.
As adoption of kubernetes grows so have the persistent storage offerings that are available to users. The introduction of CSI(Container Storage Interface) has enabled storage providers to develop drivers with ease. In fact there are around a 100 different CSI drivers available today. With all these options it can become a bit daunting to choose the right storage.
Kubestr can assist in the following ways-
- Identify the various storage options present in a cluster.
- Validate if the storage options are configured correctly.
- Evaluate the storage using common benchmarking tools like FIO.
Using Kubestr
To install the tool -
- Ensure that the kubernetes context is set and the cluster is accessible through your terminal. (Does kubectl work?)
- Download the latest release for mac, windows or linux.
- Unpack the tool and make it an executable
chmod +x kubestr
.
To discover available storage options -
- Run
./kubestr
To run an FIO test -
- Run
./kubestr fio -s <storage class>
To check a CSI drivers snapshot and restore capabilities -
- Run
./kubestr csicheck -s <storage class> -v <volume snapshot class>