Files
my-rook-config/deploy/examples/pool-builtin-mgr.yaml
T
travisn 806608cdbc pool: allow setting the application on a pool
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>
2024-02-14 16:53:25 -07:00

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