Commit Graph
683 Commits
Author SHA1 Message Date
Alexander Trost eb0d8699d1 cockroachdb: docs: unified formatting and style
This is the first phase CockroachDB part of three phases to improve and
rework the Rook documentation for better user accessibility to the Rook
projects and  with that the storage providers.
Phase two is about automatic generation of CRD documentation and phase
three is about reworking the docs themselves and, e.g., examples for
CRDs and certain use cases.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-11-01 18:10:51 +01:00
Alexander Trost 64afb24596 cassandra: docs: unified formatting and style
This is the first phase Ceph part of three phases to improve and rework
the Rook documentation for better user accessibility to the Rook
projects and  with that the storage providers.
Phase two is about automatic generation of CRD documentation and phase
three is about reworking the docs themselves and, e.g., examples for
CRDs and certain use cases.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-11-01 18:10:36 +01:00
Alexander Trost 98217272be ceph: docs: unified formatting and style
This is the first phase Ceph part of three phases to improve and rework
the Rook documentation for better user accessibility to the Rook
projects and  with that the storage providers.
Phase two is about automatic generation of CRD documentation and phase
three is about reworking the docs themselves and, e.g., examples for
CRDs and certain use cases.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-11-01 18:10:32 +01:00
Travis Nielsen 831c15086a ceph: support all layers of CRUSH map with node labels
The node labels were already supported for zones and regions to add to
the CRUSH map. Now all layers of the CRUSH map will be supported
with the new labels such as topology.rook.io/rack.
The labels will be detected at the osd startup time
similar to the zone and region labels already being detected.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2019-10-31 14:47:18 -06:00
Travis NielsenandYaniv Kaul 42cccf3210 docs: remove comments on merged issues in dev guide
Both issues were already merged in Kubespray, so hopefully irrelevant anymore.

Co-authored-by: Yaniv Kaul <ykaul@redhat.com>
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2019-10-26 00:40:55 -06:00
Sébastien Han 98bc8e4ca0 ceph: revert "CSI: Add support for CSIDriver object creation"
I merged https://github.com/rook/rook/pull/4169 too quickly and didn't
noticed we were supposed to wait for csi 1.2.2.

This reverts commit 520ad44d71.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-10-24 12:30:11 +02:00
Madhu Rajanna 520ad44d71 CSI: Add support for CSIDriver object creation
This will be helpful to list the CSI drivers deployed
in the kubernetes cluster. if we have N number of
CSI drivers deployed in the cluster, the user can
query kubectl get csidriver and get  the list of
registered CSI drivers and it requires kube 1.14+
and also the functionality is disabled by default

More info here: https://github.com/ceph/ceph-csi/pull/698

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-10-24 15:08:26 +05:30
rohan47 7f9611d489 Ceph: Added removeOSDsIfOutAndSafeToRemove to Cluster CR
OSDs can be removed automatically with the current mechanism if a new
setting removeOSDsIfOutAndSafeToRemove is set to true. The default for
all new or upgraded clusters should be false.

Signed-off-by: rohan47 <rohgupta@redhat.com>
2019-10-23 15:10:36 +05:30
Sébastien Han fcc2e21faf ceph: rework csi keys and secrets
We know create 4 secrets containing 4 ceph keys where each of them have
limited permissions to access the cluster.

Closes: https://github.com/rook/rook/issues/4074
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-10-22 15:14:28 +02:00
Sébastien Han 1081c58423 Merge pull request #4009 from sp98/add-k8s-version-check
[OSD on PVC] add kubernetes version check.
2019-10-21 11:23:01 +02:00
Travis Nielsen b759b40364 Merge pull request #4061 from hasheddan/viewyugabytedash
yugabyte docs: add directions on how to access yugabytedb dashboard
2019-10-18 14:09:53 -06:00
hasheddan 9a39c0542f docs: add directions on how to access yugabytedb dashboard using port-forwarding
enhancement to docs to make visualizing the yugabytedb cluster easier

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2019-10-18 14:45:43 -05:00
Sébastien Han 1765ad6508 ceph: expose prepare pod resource limits
The osd-prepare jobs should not inherit osd resources since this might
cause scheduling issues.
Instead, we can now use the new CRD property `prepareosd` in the resource section.

Refer to the documentation for more details.

Closes: https://github.com/rook/rook/issues/2502
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-10-18 16:48:03 +02:00
Santosh Pillai edf0c7aea7 ceph: add kubernetes version check for running osd on pvc.
- OSD on PVC provisioning fails if k8s version is less than 1.13.0
  - updated document to reflect minimum k8s version required.
  - Added check to skip OSD on pvc provisoning if the minimum k8s version requirement is not met.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2019-10-17 13:37:40 -06:00
binoue 170f45cd42 doc: update wrong/outdated links
this fix not working links

Signed-off-by: binoue <banji-inoue@cybozu.co.jp>
2019-10-11 18:11:49 +09:00
Sébastien Han 148f8da1fb ceph: relax pre-requisite for external cluster
We now differentiate the cases where:

* we only consume the external cluster
* we consume the external cluster as well as creating stateless
resources in Kubernetes (bootstrap mds,rgw, nfs)

This is mostly controlled via the image property spec. If not defined,
not extra CRs won't be able to be created.

Now the external cluster feature supports Ceph cluster as of Luminous 12.2.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-10-08 10:52:01 +02:00
Juan Miguel Olmo Martínez 2de0787fc8 New setting to avoid delete pools on <fs>/<os> resources deletion
A new CRD property `PreservePoolsOnDelete` has been added to Filesystem(fs) and
Object Store(os) resources in order to increase protection against data loss.
If it is set to `true`, associated pools won't be deleted when the main
resource(fs/os) is deleted. Creating again the deleted fs/os with the same name
 will reuse the preserved pools.

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2019-09-30 08:13:39 +02:00
Sébastien Han c8d8d30103 Merge pull request #3943 from galexrt/updated_disaster
docs: updated Ceph mon disaster recovery guide
2019-09-27 15:40:20 +02:00
Dmitry Yusupov 37a9e6b0f0 Merge pull request #3995 from SergeyKaydalov/edgefs-kvssd
EdgeFS: support for rtkvs disk engine and Samsung KVSSD
2019-09-26 10:34:16 -07:00
Sergey Kaydalov 07ba73bb8f EdgeFS: support for rtkvs disk engine and Samsung KVSSD
Signed-off-by: Sergey Kaydalov <kayserg@gmail.com>
2019-09-26 18:02:32 +03:00
Alexander Trost 3a06804931 docs: updated Ceph mon disaster recovery guide
This updates the Ceph mon disaster recovery guide to use the correct
paths and commands for the current Rook Ceph release.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-09-25 18:26:04 +02:00
Travis Nielsen 75963b2859 Merge pull request #3973 from leseb/mergify-for-backports
add mergify engine for backport only
2019-09-25 10:23:31 -06:00
Travis Nielsen b99f6efb03 Merge pull request #3979 from Madhu-1/change-csi-tag
use new cephcsi release
2019-09-25 06:52:45 -06:00
Madhu Rajanna 0a516d5f32 use v1.2.1 cephcsi release
update CSI deployment templates and
doc to use new cephcsi v1.2.1 release

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-25 16:08:55 +05:30
Sébastien Han cfd2a7be0b add mergify engine for backport only
This is round 2 attempting to add the mergify engine in Rook. In this
case, we only use the backporting and automerge features.

* auto backport: set a label on your PR and a backport PR will be
automatically created under the right branch
* auto backport PR merge: if the backport PR passes CI, mergify will
merge it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-25 08:41:41 +02:00
travisn 94c607b1d7 ceph: clarify docs around settings configmap
The configmap for advanced configuration can be created before the
cluster is created. In that case, the daemons will all pick up the
settings the first time they are started. Otherwise, the daemons
need to be restarted

Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-24 17:49:33 -06:00
Travis Nielsen 1969a4f4fb Merge pull request #3944 from Madhu-1/correct-ns
correct namespace for csi resources  in upgrade doc
2019-09-23 10:22:00 -06:00
Alexander Trost 8187297d36 Merge pull request #3503 from jbmcfarlin31/master
minio: update documentation in regards to #3478
2019-09-23 13:36:27 +02:00
Alexander Trost ba12167ff5 Merge pull request #3820 from krig/yugabyte-doc
Doc (Yugabyte DB): Fix hostname in API connection (#3816)
2019-09-23 10:01:56 +02:00
Madhu Rajanna 04a276abf1 correct namespace for csi resources
CSI pods should look for the resources
created in ROOK_SYSTEM_NAMESPACE instead
of ROOK_NAMESPACE

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-23 10:20:51 +05:30
Madhu Rajanna 345f099bbc Make kubelet path configurable in operator
currently CSI templates have hardcoded kubelet
path which will  be used for  mounting PVC,this
will not work if kubelet is configured to use
different path, with this PR  kubelet path
can be configured for CSI.

Fixes: #3921

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-20 18:51:44 +05:30
Blaine Gardner f97820a088 Merge pull request #3902 from Madhu-1/fix-3868
update cephcsi upgrade document
2019-09-19 12:14:37 -06:00
Sébastien Han 087d71106b ceph: add a new CR property to force upgrades
On rare occasion, the ceph checks might not be 100% correct and the user
might decide to force an upgrade anyway.
Correctly, if we are in an upgrade, we perform `ok-to-stop` check for
each daemon, if one of them fails, we retry and eventually fail.
They are corner-cases where users would like to force the upgrade anyway.

Enhance the new CR property: "skipUpgradeChecks: true".

Closes: https://github.com/rook/rook/issues/3872
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-19 10:55:56 +02:00
Madhu Rajanna 4a8b821c79 update csi upgrade document
updated required rules for upgrading CSI from
v1.0 to v1.1 and also updated the document with
required steps

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-19 12:00:22 +05:30
Sébastien Han 9c86f40a6e Merge pull request #3724 from leseb/disable-flex
operator: ceph disable flexdriver
2019-09-18 10:08:07 +02:00
Travis Nielsen 480312c976 Merge pull request #3889 from leseb/use-v14.2.4-20190917
ceph: bump to v14.2.4
2019-09-17 16:56:51 -06:00
Sébastien Han 7f359ba41b operator: ceph disable flexdriver
Since Ceph CSI is stable and deployed by default, we don't need to
deploy the rook-ceph-agent daemonset.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-18 00:28:25 +02:00
Sébastien Han bc6dcb9995 ceph: bump to v14.2.4
v14.2.4 just got released so let's use it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-17 15:08:15 +02:00
Sébastien Han f7df86df16 Merge pull request #3569 from galexrt/docs_improve
docs/ceph: add list of unusable directories paths
2019-09-17 12:20:01 +02:00
Sébastien Han e22a0722e7 Merge pull request #3837 from rohan47/nfs-docs
NFS: Added an example to consume the nfs export created by nfs operator.
2019-09-16 10:45:13 +02:00
rohan47 c1a3038f2d NFS: Added an example to consume the nfs export created by nfs operator.
Signed-off-by: rohan47 <rohgupta@redhat.com>
2019-09-14 00:00:05 +05:30
Alexander Trost 0827df646a docs/ceph: add list of unusable directories paths
This adds a list of unusable directories paths to the Ceph Cluster CRD
doc page and the Ceph operator validation code. Reason for adding these
directories is that they are causing errors during Ceph OSD deployment.
Example: When an user wants to use `/rook` as a directory for an OSD,
the cluster deployment fails because the `mountPath`s must be unique:
```
Job.batch "rook-ceph-osd-prepare-NODE" is invalid: spec.template.spec.containers[1].volumeMounts[4].mountPath: Invalid value: "/rook": must be unique
```

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-09-13 14:06:32 +02:00
travisn c77a64fbaa ceph: add final upgrade changes from v1.0
The upgrade was missing some final features that were added recently
such as the pod disruption budgets. The namespaced RBAC changes also
needed to have the appropriate namespaces included if they had installed
the operator in a different namespace from rook-ceph.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-12 14:08:10 -06:00
Blaine Gardner 0be2e2c027 ceph upgrade doc: document CSI image changes
The configuration for using Rook with CSI images has changed somewhat
since v1.0, and users of Ceph's CSI drivers will need to consider some
additional update steps.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-09-10 11:02:21 -06:00
Kristoffer Grönlund c2b75db41c Doc (Yugabyte DB): Fix hostname in API connection (#3816)
Use the correct hostname when accessing the API.

Resolves: #3816

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2019-09-10 13:19:58 +02:00
Travis Nielsen 82a2d018a2 Merge pull request #3715 from ashishranjan738/rohan
Adds MDB controller and machineLabel controller required for fencing
2019-09-06 16:51:56 -06:00
Dmitry Yusupov d804989511 Merge pull request #3799 from dyusupov/master
edgefs image version update in examples and docs
2019-09-06 15:38:02 -07:00
travisnandAshish Ranjan 638b591535 ceph: Adds support for MDB controller and machineLabel controller
Add support for MachineDisruptionBudget controller and MachineLabel controller required for fencing
in OpenShift. This will ensure that machines are only fenced and OSDs are only stopped
when Ceph is in a healthy state.

Co-authored-by: Ashish Ranjan <aranjan@redhat.com>
Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-06 16:32:06 -06:00
Dmitry Yusupov 5b1aa7fa21 edgefs image version update in examples and docs
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-09-06 14:52:59 -07:00
Blaine Gardner 138b30e5ff ceph upgrade doc: add note about required configs
Make users aware of the newly 'required' configs earlier in the upgrade
doc so they have more context when they arrive at the upgrade step to
consider changing these for their own clusters.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-09-06 15:48:41 -06:00