forked from rook/rook
Rook has been setting the application automatically on all pools to rbd for CephBlockPools, rook-ceph-rgw for CephObjectStores, mgr on the built-in .mgr pool, and nfs on the built-in .nfs pool. The legacy pool device_health_metrics is long gone from Pacific which is no longer supported, so we can remove special handling for that pool in the upgrade guide and in the code. The application setting is now available on the pool spec although it is not expected to commonly need to override the default applications set by Rook. The application for CephFilesystem pools is now being set to cephfs, where it was previously blank. Signed-off-by: travisn <tnielsen@redhat.com>
22 lines
751 B
YAML
22 lines
751 B
YAML
apiVersion: ceph.rook.io/v1
|
|
kind: CephBlockPool
|
|
metadata:
|
|
# If the built-in Ceph pool used by the Ceph mgr needs to be configured with alternate
|
|
# settings, create this pool with any of the pool properties. Create this pool immediately
|
|
# with the cluster CR, or else some properties may not be applied when Ceph creates the
|
|
# pool by default.
|
|
name: builtin-mgr
|
|
namespace: rook-ceph # namespace:cluster
|
|
spec:
|
|
# The required pool name with underscores cannot be specified as a K8s resource name, thus we override
|
|
# the pool name created in Ceph with this name property.
|
|
name: .mgr
|
|
failureDomain: host
|
|
replicated:
|
|
size: 3
|
|
requireSafeReplicaSize: true
|
|
parameters:
|
|
compression_mode: none
|
|
mirroring:
|
|
enabled: false
|