Commit Graph
96 Commits
Author SHA1 Message Date
Haichao Li 24027b969e test: Kubeadm-install add support for arm64
Only kubectl for amd64 is currently available.This modification adds
arm64 version of kubectl that can successfully deploy kubernetes on
arm64 machine.

Signed-off-by: Haichao Li <haichao.li@arm.com>
2020-03-16 16:15:59 +08:00
Ashish Ranjan af4cc2096d Ceph: update localPV.sh to clean localPVs before applying
This commit updates localPV.sh to clean existing localPVs before applying the new one.

Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2020-02-12 15:03:35 +05:30
Ashish Ranjan 37b442a308 localPV: update localPath PV with size of 10G
This commit updates the localPath PV to use size of 10G and use /dev/xvdc as mountpoint for disks.

Signed-off-by: Ashish Ranjan <aranjan@redhat.com>
2020-02-04 22:28:20 +05:30
Ashish Ranjan 2495198409 ceph: Adds shell script for provisioning localPath PVs
This commit adds a shell script to provision localPath PVs over the
disks in the nodes for OSDs and random host directoris for mons.

Note: currently it is hardcoded to select disk of `/dev/xvdb`.

Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2020-02-04 16:05:52 +05:30
Travis Nielsen 9a078bf9e6 minio: remove from rook
The minio operator has not had community support nor
any updates since being added to Rook. Support is being
removed from Rook due to this lack of community interest.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-01-08 15:45:21 -08:00
Travis Nielsen 9b8c49b585 minikube: remove unused commands in helper script
The helper script to start minikube has dead code that is
no longer used. Specifically, the flex driver config isn't needed
anymore and the RBAC rules are all configured in the manifests.
Neither is there a need to have a restart option on minikube.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2019-12-02 14:26:34 -07:00
travisn d6fe7cec5a helm: configure for k8s 1.16 or newer
Helm requires some changes to be compatible with k8s 1.16.
The deployment needs to use v1 apiVersion and a selector
needs to be added. A tiller service account is also required.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-10-19 12:46:01 -06:00
Sameer Kulkarni 9816fc7ce6 yugabytedb: integration tests and scripts
Signed-off-by: Sameer Kulkarni <samkulkarni20@gmail.com>
2019-08-27 22:45:14 +05:30
Travis Nielsen 786384f018 Merge pull request #3457 from travisn/minikube-push-images
Minikube test script: push v14 instead of v13 image only when needed
2019-08-26 23:56:09 -06:00
Sébastien Han 764f399630 minikube: fix symlink
Let's create the symlink one directory above dataDirHostPath so that
chown won't complain that this is a symlink.

Closes: https://github.com/rook/rook/issues/3529
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-08-26 16:11:47 +02:00
c852e86fe9 ceph-rook object bucket provisioner
Signed-off-by: travisn <tnielsen@redhat.com>
Signed-off-by: jeffvance <jeff.h.vance@gmail.com>
Signed-off-by: Jon Cope <jcope@redhat.com>

Co-authored-by: Jon Cope <copejon@users.noreply.github.com>
Co-authored-by: Jeff Vance <jeff.h.vance@gmail.com>
2019-08-22 19:54:43 -06:00
travisn 24c134de38 start minikube with the default version of kubernetes
There is generally not a need to launch a specific version
of k8s, so just let minikube pick the latest version
to launch.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-07-23 17:49:35 -06:00
travisn 9411766b86 minikube script: push v14 instead of v13 image
The ceph image isn't needed every time the rook image is updated.
Thus, make it optional to copy the ceph image into the cluster.
Pushing the ceph image can be done by uncommenting in the script
when needed.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-07-15 17:17:48 -06:00
Kaushal M 16506e4f7a tests/scripts: Fix minikube script
Default to virtualbox driver. `minikube config get vm-driver` does not
work when default is used.

Fixes #3208.

Signed-off-by: Kaushal M <kshlmster@gmail.com>
2019-05-22 13:43:57 +05:30
Alexander Trost 88013858bd Merge pull request #3199 from galexrt/fix_k8s-multi-node-test-script
tests: fix git describe repo path in k8s-vagrant-multi-node script
2019-05-19 22:40:33 +02:00
Alexander Trost 57b2ae112f tests: fix git describe repo path in k8s-vagrant-multi-node script
This fixs that the `git describe` is run with the `-C REPO_PATH` flag to
correctly get the latest tag of the k8s-vagrant-multi-node repo and not
the Rook repository.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-05-19 20:51:37 +02:00
Kaushal M 24d7c3059b tests/scripts: Fix minikube script for libvirt
The minikube script now uses the proper disk path (vda) when minikube is
configured to run with the libvirt driver.

Signed-off-by: Kaushal M <kshlmster@gmail.com>
2019-05-16 21:30:02 +05:30
Santosh Pillai 7f5b184e40 added missing semicolon to k8s-vagrant-mutli-node.sh file
Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2019-04-29 13:40:16 +05:30
travisn dd94fd14e3 tests: add k8s 1.14 to the integration test matrix
Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-25 15:53:19 -06:00
travisn eb74bf5547 Configure a cluster in the same namespace as the operator
To simplify the deployment of Rook, both the operator and cluster crd are now created in the
same namespace in the examples. By default the operator will only manage a cluster crd
in the same namespace instead of watching for clusters in all namespaces. To manage a cluster
in another namespace, the roles in latter half of operator-common.yaml need to point to the new
namespace and the operator env var ROOK_CURRENT_NAMESPACE_ONLY should be set to false.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-04 12:42:08 -06:00
Christopher P. Maher 4954a32940 Adding install for kubernetes-cni for integration tests
Signed-off-by: Christopher P. Maher <chris@mahercode.io>
2019-03-28 09:32:57 -07:00
Alexander Trost 64a9308d07 tests/scripts: Added basic k8s-vagrant-multi-node wrapper script
This adds a basic wrapper script around k8s-vagrant-multi-node project.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-03-18 15:30:31 +01:00
Christopher P. Maher 19d953d51f Changing timeout for dpkg unlock for Ubuntu GCE CI/CD systems
Signed-off-by: Christopher P. Maher <chris@mahercode.io>
2019-01-23 22:11:46 -08:00
Travis Nielsen 2a6d89ff78 Merge pull request #2381 from travisn/add-remove-k8s-tests
Remove 1.8 and 1.9 and add 1.13 to integration tests
2018-12-20 09:38:19 -07:00
travisn 0230400e27 build: remove 1.8 and 1.9 and add 1.13 to integration tests
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-19 23:42:01 -07:00
Jared Watts d1414e92a1 Merge pull request #2389 from farhaanbukhsh/grammar-fix
Fix the typo in helm.sh
2018-12-17 16:53:18 -08:00
Earl C. Ruby III 3b727d8c98 Fix the test function that deletes the replicapool
The command `kubectl delete -n rook-ceph pool replicapool` used to
work, but currently returns the error `error: the server doesn't
have a resource type "pool"`. The actual resource type is
`cephblockpools`. The resource type `cluster` was also recently
changed to `cephcluster`.

Since the function commands end with `|| true`, the errors are
silently masked and the resources are not deleted.

This PR adds delete commands for `cephblockpools` and `cephcluster`,
so that regardless of whether you're testing old or new versions
of Rook the delete commands will work.

Signed-off-by: Earl C. Ruby III <earlruby@users.noreply.github.com>
2018-12-17 15:38:25 -08:00
Farhaan Bukhsh f77fc727ca Fix the typo in helm.sh
Signed-off-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
2018-12-16 22:09:00 +05:30
travisn a29b876337 rename ceph v1 crds with the ceph prefix
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-05 16:23:55 -07:00
Yannis Zarkadas b23d874856 cassandra: integration tests and scripts
Simple integration test for Cassandra.
Boilerplate in setup scripts for Jenkins.

Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com>
2018-12-05 12:50:09 +02:00
Jared Watts 2274f78683 Fixes for running Ceph, CockroachDB, and Minio demos
- Add cluster domain to minio spec
- Remove port configuration from minio spec
- Include unused packages for codegen related repos
- Update Minio version to pick up latest fixes
- Helper to load cockroachdb demo images into minikube

Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-11-08 10:52:49 -08:00
travisn b5862ca062 minikube: start version 1.12.2 by default
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-26 15:17:05 -06:00
mickymiek f93128b2d9 make sure integration tests works on k8s 1.12
Signed-off-by: mickymiek <meunie_m@etna-alternance.net>
2018-10-10 17:12:51 +02:00
travisn efd581e7ed start toolbox pod with the ceph image instead of a separate image
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-02 15:43:53 -06:00
Alexander Trost c1da6999bf Merge pull request #2060 from galexrt/fix_981
build: Only install helm if needed and use a temp path
2018-09-12 19:22:19 +02:00
Alexander Trost 5d8d2b5b5a build: Only install helm if needed and use a temp path
Resolves #981

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-09-11 14:21:48 +02:00
Ratnadeep Debnath 96400d696a Update Jenkinsfile and other scripts to set k8s 1.8 as the min reqd version.
Signed-off-by: Ratnadeep Debnath <rtnpro@gmail.com>
2018-08-28 20:10:47 +05:30
rohan47 9aec1d3002 nfs: Documentation, user guides, examples
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-08-22 11:57:44 +00:00
rohan47 f31044b269 nfs: integration tests and scripts
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-08-22 10:34:40 +00:00
Alexander Trost 304eafa07d Ceph: Improve erasure coded filesystem docs
Replace `rook-operator.yaml` mentions with `operator.yaml` as it is
named right now.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-08-19 13:23:23 +02:00
travisn 19cf1860f1 tests: skip rbd volumes for osds
Signed-off-by: travisn <tnielsen@redhat.com>
2018-08-07 09:01:11 -06:00
Travis Nielsen 53d6d8cc43 Merge pull request #1968 from travisn/minikube-update-images
Update only the images desired in minikube
2018-07-31 16:55:22 -06:00
travisn 8dcc6e70fd minikube: update only the images desired
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-31 14:57:48 -06:00
travisn 7f02ab3483 tests: add k8s 1.11 to the matrix
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-27 16:45:09 -06:00
Blaine Gardner fe5fb394c7 Fix spellcheck and trailing space/newline issues
Fix some basic spellcheck errors. Also remove trailing spaces and make
sure files have a newline (my editor does automatically).

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-07-26 11:36:09 -06:00
Huamin Chen 82425aafcc prepare osd in a job per node. Once all osds are prepared, store osd info in orchestration configmap.
Operator watches the configmap, starts one osd replica set per osd.

Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-07-05 16:02:27 -06:00
travisn 89cfccd5a2 enable rook to run on openshift
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 11:20:43 -06:00
travisn b44c2006f7 test minishift script
Signed-off-by: travisn <tnielsen@redhat.com>
2018-06-29 16:09:54 -06:00
Alexander Trost f6aab8ef66 tests: Cleanup/Removed unnecessary whitespaces/new lines in scripts/docs
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-24 18:39:07 +02:00
Tony Allen 7442f8713b Implement Minio operator w/ tests.
Signed-off-by: Tony Allen <tony@upbound.io>
2018-06-21 16:41:30 -07:00