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

45 commits

Author SHA1 Message Date
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
Abhijit Mukherjee
7a9f6b57a7
Upgrade k8s version to 0.29.0 (#213)
* bumped up k8s.io dependencies
* Update kanister build

---------

Signed-off-by: Abhijit M <abhijit.mukherjee@kasten.io>
2024-02-01 23:09:32 -08:00
carlbraganza
9c2e28e275
Block mount tester (#159)
* Block mount tester.

* Fixed linter error.

* Updated README

* Ran go mod tidy. Added message advertising the block mount test.

* Addressed PR feedback.

* A few more renames...

* Added a pvc size flag.

* Reversed -c flag again.
2023-07-24 11:23:35 -10:00
Andrei Khoriakov
af3a5387f4
Update Kanister to 4dca8c82ae9d (#137) 2022-10-25 12:02:47 -07:00
mmotejlek
612e14d566
Reorder imports (#124) 2022-08-23 09:02:33 -07:00
mmotejlek
f3243a24d1
Add node selector flag for FIO (#105) 2022-08-16 12:51:19 -07:00
Ivan Sim
89f3d7b02c
Upgrade golangci-lint to latest version (#123)
Signed-off-by: Ivan Sim <ivan.sim@kasten.io>
2022-08-10 11:46:52 -07:00
Mike McKay-Dirden
281e8ec0de
Fail fast on creation and cleanup regardless of ctx - RunSnapshotRestore (#103)
* Fail fast on creation and cleanup regardless of ctx

* changes based on comments

* changes based on comments

* add test coverage for WaitForPVCReady

* always check Events on error waiting for pvc/pod ready
2022-06-29 14:39:09 -10:00
Julio Lopez
aede420d65
robustness: strip prefix with strings.TrimPrefix (#88) 2021-10-21 13:03:30 -10:00
Sirish Bathina
ceccf5854f
Adding nutanix driver (#91) 2021-10-20 09:50:17 -10:00
Sirish Bathina
b05305cacd
Running 'go mod tidy' (#86)
* go mod tidy

* trim argument fix
2021-10-08 16:06:17 -10:00
Sirish Bathina
032878da5f
Kubestr browse PVC functionality (#83)
* browse changes

* after onkars review
2021-10-08 09:53:57 -10:00
Akanksha kumari
798242c5bd
Update kanister dependency (#76)
* Update kanister dependency

* Update go.sum

* go mod tidy
2021-08-06 09:57:30 -07:00
ssuresh
ce8324577f
Handle improper driver names (#72)
* Update .gitignore

- Ignore Goland/IntelliJ folder

* Update CSI drivers list

* Make CSI Driver list generation more robust

- The script file was unintentionally processing the `Sample Drivers`
  list table and erroring as a result (when scraping data from https://github.com/kubernetes-csi/docs/blob/master/book/src/drivers.md)

* Handle improperly formatted CSI driver name

- This is handled on a case-by-case basis since it is hard to speculate
  on the variations
- Currently handled for Democratic and Ember CSI

* Restore entries that went missing

* Ensure driver entries are not missed when scraping data
2021-06-02 12:24:12 -07:00
Sirish Bathina
31d463e477
fix for misplaced defer (#63) 2021-04-06 07:39:47 -10:00
Sirish Bathina
bbb1341599
Fix spelling (#61) 2021-04-05 11:26:45 -10:00
Joe Houghes
e4afdfd158
Fix spelling in Logo constant (#56) 2021-03-24 13:33:17 -10:00
Sirish Bathina
4c133b2a78
Updating kanister version (#51)
* updating kanister version

* scheme usage change
2021-02-23 14:36:54 -10:00
Sirish Bathina
0fb6507133
Additionaltests (#50)
* new tests

* adding index
2021-02-05 10:49:17 -10:00
Sirish Bathina
6f6eabf272
Create _config.yml 2021-02-05 10:32:02 -10:00
Sirish Bathina
40561bd5a3
Fio object parse and wait animation (#49)
* fio object and wait

* fio types

* UTs

* missed a return

* formatting

* unneccessary sprintf

* blah
2021-02-01 10:45:57 -10:00
Prasad Ghangal
f4feadc161
Refactor snapshotter interface to support v1 snapshots (#47)
* Update snapshotter to support v1 snapshots

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Update Kanister dep

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Update tests

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Run go generator

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
2021-01-12 16:48:51 -10:00
Sirish Bathina
782d565c18
Support csi v1 (#46)
* support csi v1

* fio file

* Adding missing files

* adding missing UT for version
2020-12-29 09:46:29 -10:00
Sirish Bathina
461543547c
Left over volume snapshot class (#45)
* Added image option to fio command

* order change of delete

* fix when deleting snapshots
2020-12-16 12:23:06 -10:00
Sirish Bathina
72cca45db3
Leftovervsc (#44)
* Added image option to fio command

* order change of delete
2020-12-16 08:28:33 -10:00
Sirish Bathina
d3e1ce5f2e
Added image option to fio command (#43) 2020-12-14 14:14:53 -10:00
Sirish Bathina
4bc94d8039
logo change (#42) 2020-12-10 12:07:43 -10:00
Sirish Bathina
41e5692566
adding comment to runAsUser (#41) 2020-12-09 11:32:35 -10:00
Sirish Bathina
89eae5a2a4
removing unecessary shell scripts (#38) 2020-12-08 14:25:58 -10:00
Sirish Bathina
8d5674a59e
CSI snapshot restore (#37)
* starting with the validation

* Create application and use mocks

* Added snapshotter

* cleanup and full execution test

* last bit of wiring

* Nil checks for comments

* removing debug print

* unused variable
2020-12-07 11:16:53 -10:00
Sirish Bathina
8077b22799
text change and throttling fix (#35) 2020-12-01 12:06:16 -10:00
Sirish Bathina
bc9dbcb6b4
Allow FIO test to use an input file (#32)
* Allow FIO test to use an input file

* lint ci errors
2020-11-30 15:37:56 -10:00
Sirish Bathina
78c0ccc086
refactor of loadconfigmaps (#30) 2020-11-25 10:03:17 -10:00
Sirish Bathina
9e128826bd
minor fixes (#29)
* minor fixes

* push to latest
2020-10-29 07:49:29 -10:00
Sirish Bathina
a59299897c
FIO in go (#25)
* inital changes for go fio

* Most of it

* root command updates

* more changes

* fioscript

* update message to point to fio script
2020-10-28 16:44:35 -10:00
Sirish Bathina
b09c72a366
first fio changes (#22)
* first fio changes

* small fixes

* newline
2020-10-20 14:19:54 -10:00
Sirish Bathina
1eb062445d
changing how we match csi driver (#20) 2020-10-19 10:59:21 -10:00
Sirish Bathina
0b3650274e
UTs for k8s checks (#17)
* UTs for k8s checks

* more tests
2020-10-16 10:57:04 -10:00
Sirish Bathina
b3b9f9d4cc remove space 2020-10-15 15:15:29 -10:00
Sirish Bathina
83bb1fd998 merge
Merge branch 'master' of https://github.com/kastenhq/kubestr
2020-10-15 15:14:15 -10:00
Sirish Bathina
a46bd0e2de space 2020-10-15 15:13:59 -10:00
Sirish Bathina
9dcfe7610c
Iss 9 (#15)
* Fixing dockerfile and run script

* Adding variable

* docker changes and run.sh changes

* typo

* some formatting and adding check
2020-10-15 15:13:14 -10:00
Sirish Bathina
2aea4f0646 logo fun 2020-10-15 15:09:13 -10:00
Sirish Bathina
cb60f3e76d pulling driver info from sig storage 2020-10-14 09:09:00 -10:00
Sirish Bathina
36ebf899c1 Kubernetes and provisioner checks 2020-10-12 16:06:26 -10:00