forked from rook/rook
This commit allows us to configure status check for each daemon:
* "mon": health check on the ceph monitors (quorum)
* "osd": health check on the ceph osds
* "status": ceph health status check
Each check is controlled by the following settings:
* disabled: whether to disable the check (default: false)
* internal: interval to run the check
* timeout: only valid for mons, is the timeout for unresponsive mon
before failling over.
Example to disable the status health check:
```yaml
healthCheck:
daemonHealth:
status:
disabled: true
```
As part of that, pod's livenessprobe can now be configured via the
following settings:
* disabled: whether to enable or not
* probe: override the current probe in place by a new one
```yaml
healthCheck:
livenessProbe:
mon:
disabled: true
```
Closes: https://github.com/rook/rook/issues/5772
Signed-off-by: Sébastien Han <seb@redhat.com>
2.7 KiB
2.7 KiB
Major Themes
Action Required
Notable Features
Ceph
- Added a toolbox job for running a script with Ceph commands, similar to running commands in the Rook toolbox.
- Ceph RBD Mirror daemon has been extracted to its own CRD, it has been removed from the
CephClusterCRD, see the rbd-mirror crd. - CephCluster CRD changes:
- Converted to use the controller-runtime framework
- ability to control health check as well as pod liveness probe, refer to health check section
- CephBlockPool CRD has a new field called
parameterswhich allows to set any property on a given pool - OSD changes:
- OSD on PVC now supports multipath device.
- Added admission controller support for CRD validations.
- Support for Ceph CRDs is provided. Some validations for CephClusters are included and additional validations can be added for other CRDs
- Can be extended to add support for other providers
- OBC changes:
- Updated lib bucket provisioner version to support multithread and required change can be found in operator.yaml
- Can be extended to add support for other providers
- Updated lib bucket provisioner version to support multithread and required change can be found in operator.yaml
- CephObjectStore CRD changes:
- Health displayed in the Status field
- Supports connecting to external Ceph Rados Gateways, refer to the external object section
- The CephObjectStore CR runs health checks on the object store endpoint, refer to the health check section
- The endpoint is now displayed in the Status field
EdgeFS
YugabyteDB
Cassandra
- Updated Base image from Alpine 3.8 to 3.12 due to CVEs.
Breaking Changes
Ceph
- rbd-mirror daemons that were deployed through the CephCluster CR won't be managed anymore as they have their own CRD now.
To transition, you can inject the new rbd mirror CR with the desired
countof daemons and delete the previously managed rbd mirror deployments manually. - old monitoring settings used in the
operator.yaml:ROOK_CEPH_STATUS_CHECK_INTERVAL,ROOK_MON_HEALTHCHECK_INTERVAL,ROOK_MON_OUT_TIMEOUTare now deprecated. Backward compatibility is maintained for existing deployments. These settings are now in theCephClusterCR, refer to health check section