1
0
Fork 0
mirror of https://github.com/kastenhq/kubestr.git synced 2024-12-14 11:57:56 +00:00
kastenhq-kubestr/README.md

28 lines
1.7 KiB
Markdown
Raw Normal View History

2020-09-02 22:10:06 +00:00
# Kubestr
2020-10-16 21:57:52 +00:00
2020-12-10 21:34:16 +00:00
## Discover your kubernetes storage options.
2020-12-10 21:32:03 +00:00
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](https://kubernetes.io/blog/2019/01/15/container-storage-interface-ga/)(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 -
2020-12-08 06:22:39 +00:00
- Ensure that the kubernetes context is set and the cluster is accessible through your terminal. (Does [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) work?)
2020-12-10 21:32:03 +00:00
- Download the latest release for [mac](https://github.com/kastenhq/kubestr/releases/download/0.3.2/kubestr-0.3.2-darwin-amd64.tar.gz), [windows](https://github.com/kastenhq/kubestr/releases/download/0.3.2/kubestr-0.3.2-windows-amd64.zip) or [linux](https://github.com/kastenhq/kubestr/releases/download/0.3.2/kubestr-0.3.2-linux-amd64.tar.gz).
- Unpack the tool and make it an executable `chmod +x kubestr`.
2020-12-08 06:22:39 +00:00
2020-12-10 21:32:03 +00:00
### To discover available storage options -
- Run `./kubestr`
2020-12-08 06:29:40 +00:00
2020-12-10 21:32:03 +00:00
### To run an FIO test -
- Run `./kubestr fio -s <storage class>`
2020-12-08 06:29:40 +00:00
2020-12-10 21:32:03 +00:00
### To check a CSI drivers snapshot and restore capabilities -
- Run `./kubestr csicheck -s <storage class> -v <volume snapshot class>`