Commit Graph
114 Commits
Author SHA1 Message Date
Jared Watts eacd9db2b3 Merge pull request #1405 from leseb/improve-dev-doc
doc: add doc for multi-node setup and dev workflow
2018-02-21 09:07:23 -08:00
Sébastien Han 3c6fa79518 doc: add doc for multi-node setup and dev workflow
This commit adds instructions to develop on a multi-node deployment,
which is somehow similar to a production setup.
It also proposes a development workflow approach to
write/build/test/ship
code to Rook.

Signed-off-by: Sébastien Han <seb@redhat.com>
2018-02-21 17:45:49 +01:00
David González Ruiz 7e06c84654 RGWs: Make multiple instances do not interfere with MGRs
Signed-off-by: David González Ruiz <godboole@gmail.com>
2018-02-16 12:32:01 +01:00
Jared Watts 202650f6f5 Add and remove storage nodes 2018-01-24 14:31:20 -08:00
Travis Nielsen 06b9368f90 tests: return specific not found error for kubectl commands 2018-01-24 08:09:49 -08:00
Travis Nielsen 4531987311 pools: allow setting crush root on the pool 2018-01-23 11:55:52 -08:00
Travis Nielsen 9c16b86324 Merge pull request #1400 from kokhang/upgrade-minikube
Use kubeadm bootstrapper for minikube
2018-01-22 13:57:05 -08:00
Divesh Angula 8b2ec14240 adding test flags to control load size and test rook resilience
- added new tests flag `--load_size` to control amount of data being written -S,M or L(less than 1M,1M and 10M respectively)
 - added new test flag `--collect_metrics` - if this flag is present, the framework will start prometheus and grafana services and monitor rook cluster
 - added new test flag `--enable_chaos` - if this flag is present, random pods in rook cluster will be killed peridiocally
 - update longhaul test pipeline (added new flags)
 - updated docs
2018-01-19 16:07:49 -08:00
Divesh Angula 892a956da6 add k8s 1.9 to CI pipeline. 2018-01-16 15:38:15 -08:00
Steve Leon 3123d0bcd6 Use kubeadm bootstrapper for minikube
- Bump default version to current stable version of 1.9.1
- Expose memory as env varible
2018-01-12 09:54:49 -08:00
Travis Nielsen dd81e56123 tests: run the block mount-unmount suite last to avoid conflicts with other tests 2018-01-10 12:12:55 -08:00
Travis Nielsen 107839fc65 tests: call rook clientset to create test cluster and consolidate cleanup 2018-01-10 10:48:17 -08:00
Travis Nielsen 4c22dc4fc2 operator: implement a finalizer for the cluster 2018-01-10 10:48:17 -08:00
Bassam Tabbara fc308583fb Merge pull request #1379 from travisn/remove-versiontag
Remove versionTag from the cluster crd docs
2018-01-04 16:56:53 -08:00
Travis Nielsen 8cdb02e32e docs: remove versionTag from the cluster crd 2018-01-04 14:57:27 -08:00
Divesh Angula d7f92b19c1 code review changes : - using strongly type k8s api for statefulset spec 2018-01-04 12:44:46 -08:00
Divesh Angula a33c58ab71 adding additional tests for block storage
- tests creating pvcs with various AccessModes
 - Mounting and unmounting PVCs with various AccessModes
 - Scaling up PVCs via stateful sets
2018-01-02 20:35:31 -08:00
Divesh Angula 5106b3f0f1 test: fix integration test flags initilization 2017-12-15 13:11:28 -08:00
Travis Nielsen 54bb61656b Merge pull request #1254 from dangula/pr_abstract_testSetUp
add rook setup to test operations interface
2017-12-14 16:52:54 -08:00
Divesh Angula a53e04276b add rook setup to test operations interface 2017-12-14 15:56:05 -08:00
Travis Nielsen 88dfbc5038 Merge pull request #1304 from dangula/pr_update_ci_env
update ci env
2017-12-14 14:32:48 -08:00
Divesh Angula 0a67f84c53 update ci env 2017-12-14 10:08:18 -08:00
Travis Nielsen 82cce0d8af operator: remove versionTag in favor of container image version 2017-12-13 10:12:09 -08:00
Travis Nielsen 0298d1fb29 completed conversion for k8s 1.8 client conversion
move core rados packages under cluster folder

move daemons under daemon pkg

rename flex crd package to attachment

pin dep to k8s 1.8.2
2017-12-11 14:35:07 -08:00
Bassam Tabbara 9b611abda7 inital attempt at upgrading to kubernetes 1.8
Update all K8s dependencies to the release-1.8 branches.

Added build and make file support for generating code.

Fixed our use of client-go to match changes in new release.
2017-12-11 14:34:24 -08:00
Divesh Angula bcc6d665ee fix testify.m flag 2017-12-08 11:25:13 -06:00
Jared Watts de7e6dbd56 tests: use a non default volume plugin dir path for k8s 1.8 2017-11-27 12:09:44 -08:00
Jared Watts 8ef8718efb tests: integration test for flexvolume path discovery 2017-11-27 10:06:20 -08:00
Jared Watts df22444045 Merge pull request #1223 from dangula/pr_recoverTestAfterPanic
recover tests from panic and capture logs.
2017-11-20 15:44:55 -08:00
Divesh Angula 0ebf7a4bb0 recover tests from panic and capture logs. 2017-11-20 13:29:28 -05:00
Divesh Angula 700ace2647 adding long haul test for object store. 2017-11-16 16:22:32 -08:00
Travis Nielsen 6140a0fb34 Merge pull request #1182 from kokhang/volumeattachment-int-test
Check volumeattachment crd in integration tests
2017-11-03 22:04:53 -07:00
Steve Leon 58f0a32b62 Check volumeattachment crd in int-tests
Fixes https://github.com/rook/rook/issues/1175
2017-11-03 17:24:01 -07:00
Steve Leon 544b208ac7 Create RBAC roles and service account for agents
fixes https://github.com/rook/rook/issues/1041
2017-11-03 11:12:56 -07:00
Travis Nielsen 9a66f59065 Merge pull request #1178 from kokhang/fix-minikube
Execute createRBAC function after images are copied
2017-11-02 10:27:00 -07:00
Steve Leon 97029aca28 Execute createRBAC function after images are copied
- There is a race condition where the k8s api is not finished
registering objects and the script tries to create RBAC objects
- Having the RBAC objects created after the images are copied should
give it enought time for the k8s api to finish registering objects
2017-11-02 10:11:44 -07:00
Divesh Angula f07b4cfa03 kubeadm join update for 1.8
- update default values for load test.

review changes
2017-11-01 15:26:34 -07:00
Travis Nielsen d4c5277d3e Merge pull request #1158 from travisn/default-datadir
Set default dataDirHostPath to /var/lib/rook
2017-11-01 10:54:11 -07:00
Jared Watts 86441f95be Merge pull request #1115 from kokhang/flex-cephfs
Adding support to mount cephfs in rook flexvolume
2017-11-01 10:49:54 -07:00
Travis Nielsen fc5d3090cc core: persist the config data in examples by default to /var/lib/rook 2017-11-01 10:02:37 -07:00
Travis Nielsen 8dc86cbe7f Merge pull request #1089 from paha/minikube-update
Restart pods for minikube kubectl context
2017-10-31 13:11:43 -07:00
Pavel Snagovsky ad746c1667 restart pods for minikube kubectl context 2017-10-31 11:50:19 -07:00
Jared Watts 5eeeedbafd docs/tests: update remaining rook-tools yaml examples to mount mon endpoints configmap 2017-10-31 08:38:25 -07:00
Bassam Tabbara f123a46dee move to dep 2017-10-27 16:04:03 -07:00
Travis Nielsen 66efebf28a tests: more efficient cluster creation and teardown 2017-10-27 14:37:56 -07:00
Divesh Angula 94e47f054b adding support for testing with all devices on cluster 2017-10-26 19:32:19 -07:00
Divesh Angula f7488e3e81 move block test data into common package. 2017-10-26 16:18:51 -07:00
Steve Leon 9e1c6af0ad Adding support to mount cephfs in rook flexvolume
fixes https://github.com/rook/rook/issues/1008
2017-10-26 13:50:04 -07:00
Travis Nielsen 1da5a52eb2 scripts: set default minikube test env to 1.8.0 2017-10-25 15:05:18 -07:00
Divesh Angula 3292bff094 fix kube-dns CrashLoopBackOff issue with RBAC enabled minikube 2017-10-24 14:55:34 -07:00