1
0
Fork 0
mirror of https://github.com/kastenhq/kubestr.git synced 2024-12-14 11:57:56 +00:00
No description
Find a file
Eugene Sumin 3843452900
Pass context to kube.Exec and similar functions. #25703 (#249)
* Bump go version
* Adjust code to follow Kanister changes
* Set appropriate Kanister revision
2024-06-04 14:44:33 -07:00
.github chore(deps): bump docker/login-action in the docker group (#259) 2024-06-03 18:28:45 -07:00
_posts Update 2021-02-07-FasterStorage.md 2021-02-05 14:40:09 -10:00
cmd Block mount tester (#159) 2023-07-24 11:23:35 -10:00
docs Update README.md 2021-02-19 08:28:52 -10:00
extra Adding nutanix driver (#91) 2021-10-20 09:50:17 -10:00
pkg Pass context to kube.Exec and similar functions. #25703 (#249) 2024-06-04 14:44:33 -07:00
scripts Avoid magic numbers in driver generation script (#73) 2021-06-08 10:07:35 -07:00
.gitignore Handle improper driver names (#72) 2021-06-02 12:24:12 -07:00
.goreleaser.yml Update .goreleaser.yml (#162) 2023-07-25 08:41:53 -10:00
_config.yml Update _config.yml 2020-12-11 09:56:52 -10:00
Dockerfile Pass context to kube.Exec and similar functions. #25703 (#249) 2024-06-04 14:44:33 -07:00
FIO.md Update FIO.md 2021-04-07 07:27:59 -10:00
go.mod Pass context to kube.Exec and similar functions. #25703 (#249) 2024-06-04 14:44:33 -07:00
go.sum Pass context to kube.Exec and similar functions. #25703 (#249) 2024-06-04 14:44:33 -07:00
index.md Update index.md 2021-02-05 14:48:35 -10:00
LICENSE Initial commit 2020-08-31 15:05:36 -07:00
main.go Separate JSON output, emit non-zero exit code (#82) 2021-10-07 07:55:17 -10:00
README.md Added Resources (#77) 2023-12-14 11:56:28 -08:00

Kubestr

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. Along with the existing in-tree providers, these options can make choosing the right storage difficult.

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.

asciicast

Resources

Video

Blogs

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 here.
  • 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>
  • Additional options like --size and --fiofile can be specified.
  • For more information visit our fio page.

To check a CSI drivers snapshot and restore capabilities -

  • Run ./kubestr csicheck -s <storage class> -v <volume snapshot class>

To check if a StorageClass supports a block mount -

  • Run ./kubestr blockmount -s StorageClass

Roadmap

  • In the future we plan to allow users to post their FIO results and compare to others.