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
Markus Vuorio 4d3cb00b76
Separate JSON output, emit non-zero exit code (#82)
* Allow for printing FIO and CSICheck JSON results to file

Fixes #79

* Use the file output function in Baseline too, remove double printing

* Emit non-zero exit code when error has occurred

Fixes #80

* Don't output twice in error case

* Added godoc and a note in command help text

* Eliminate weird variable names, make godoc clearer

* Error handling for file output
2021-10-07 07:55:17 -10:00
.github/workflows Update golangci-lint.yml 2020-12-16 08:25:12 -10:00
_posts Update 2021-02-07-FasterStorage.md 2021-02-05 14:40:09 -10:00
cmd Separate JSON output, emit non-zero exit code (#82) 2021-10-07 07:55:17 -10:00
docs Update README.md 2021-02-19 08:28:52 -10:00
extra Handle improper driver names (#72) 2021-06-02 12:24:12 -07:00
pkg Update kanister dependency (#76) 2021-08-06 09:57:30 -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
_config.yml Update _config.yml 2020-12-11 09:56:52 -10:00
Dockerfile Update Dockerfile 2020-12-09 12:10:27 -10:00
FIO.md Update FIO.md 2021-04-07 07:27:59 -10:00
go.mod Update kanister dependency (#76) 2021-08-06 09:57:30 -07:00
go.sum Update kanister dependency (#76) 2021-08-06 09:57:30 -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 Trivial: Add a missing space (#58) 2021-03-31 07:30:42 -10: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

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>

Roadmap

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