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

Update README.md

This commit is contained in:
Sirish Bathina 2020-10-16 11:57:52 -10:00 committed by GitHub
parent 0b3650274e
commit 97e427cee0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1 +1,34 @@
# Kubestr
Kubestr is a tool that qualifies the storage options present in a cluster.
In upcoming releases we plan to suport running an FIO test on the storage as well as testing the snapshotting capabilities of a storage provisioner.
To run the tool -
`curl https://raw.githubusercontent.com/kastenhq/kubestr/master/scripts/run_kubestr.sh | bash`
## Developers
### Building and testing the tool locally -
(You must have [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) installed and kubernetes context must be set)
Build
`go build`
Run
`./kubestr`
### To create your own image -
Build a docker image -
`docker build . --file Dockerfile --tag kubestr`
Tag it with your personal repo -
`docker tag kubestr:latest <yourRepo:version>`
Push it! -
`docker push <yourRepo:version>`
You can now run your image in a pod by executing the run_kubestr script -
`curl https://raw.githubusercontent.com/kastenhq/kubestr/master/scripts/run_kubestr.sh | bash /dev/stdin -i <yourRepo:version>`