Commit Graph
13 Commits
Author SHA1 Message Date
Satoru Takeuchi 3bbffd1e4d test: avoid potential data inconsistency on zapping disk
Data inconsistency might happen if the disk is accessed just after disk
zapping because direct I/O is not synchronous by itself.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-03-18 11:50:04 +00:00
Sébastien Han c890710b63 core: change directory layout
As per discussion, proposing a new layout for the charts/yaml/olm files.

./deploy
├── charts
│   ├── rook-ceph
│   │   └── templates
│   └── rook-ceph-cluster
│       └── templates
├── examples
│   ├── csi
│   │   ├── cephfs
│   │   └── rbd
│   ├── flex
│   ├── monitoring
│   ├── pre-k8s-1.16
└── olm
    └── assemble

Signed-off-by: Sébastien Han <seb@redhat.com>
2021-11-30 09:12:53 +01: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
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
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
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
Ganesh Maharaj Mahalingam b79a525f40 Rook test script fix
Recent change to support multiple backends changed the docker image name
but missed the change in the test script. This patch addresses that
issue.

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
2018-05-24 23:32:41 -07:00
travisn 9f33ca2421 test: integration tests updates for multiple storage types
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-18 14:32:47 -07:00
travisn fc9118f7b2 remove support for k8s 1.6 and TPRs
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-08 10:09:38 -07:00
Dan Mick e013ef058d Wait for Rook operator to become ready on redeploy
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-02-26 13:12:36 -08:00
Dan Mick c6c1f47240 Remove note about purge-ceph.sh
This is now done on each VM by default

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-02-26 13:12:36 -08:00
Dan Mick 260b9ae4e6 build-rook.sh: only replace kubectl conf if needed
Avoids buildup of backup files

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-02-26 13:12:36 -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