nfs: create config pool by default
Create the ".nfs" config pool by default so that users aren't required
to create it via CephBlockPool.
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 254a7adb4c)
This commit is contained in:
1 parent
f72b2fa67b
commit
727d6dcf53
4 files changed
+24
-19
No files matched your search
@@ -22,7 +22,7 @@ metadata:
|
||||
namespace: rook-ceph # namespace:cluster
|
||||
spec:
|
||||
name: .nfs
|
||||
failureDomain: host
|
||||
failureDomain: osd
|
||||
replicated:
|
||||
size: 1
|
||||
requireSafeReplicaSize: false
|
||||
+18
-14
@@ -55,17 +55,21 @@ spec:
|
||||
#priorityClassName:
|
||||
# The logging levels: NIV_NULL | NIV_FATAL | NIV_MAJ | NIV_CRIT | NIV_WARN | NIV_EVENT | NIV_INFO | NIV_DEBUG | NIV_MID_DEBUG |NIV_FULL_DEBUG |NB_LOG_LEVEL
|
||||
logLevel: NIV_INFO
|
||||
---
|
||||
apiVersion: ceph.rook.io/v1
|
||||
kind: CephBlockPool
|
||||
metadata:
|
||||
name: builtin-nfs
|
||||
namespace: rook-ceph # namespace:cluster
|
||||
spec:
|
||||
# The required pool name ".nfs" cannot be specified as a K8s resource name, thus we override
|
||||
# the pool name created in Ceph with this name property
|
||||
name: .nfs
|
||||
failureDomain: host
|
||||
replicated:
|
||||
size: 3
|
||||
requireSafeReplicaSize: true
|
||||
# ---
|
||||
# # The built-in Ceph pool ".nfs" is used for storing configuration for all CephNFS clusters. If this
|
||||
# # shared pool needs to be configured with alternate settings, create this pool (once) with any of
|
||||
# # the pool properties. Create this pool before creating any CephNFSes, or else some properties may
|
||||
# # not be applied when the pool is created by default. This pool must be replicated.
|
||||
# apiVersion: ceph.rook.io/v1
|
||||
# kind: CephBlockPool
|
||||
# metadata:
|
||||
# name: builtin-nfs
|
||||
# namespace: rook-ceph # namespace:cluster
|
||||
# spec:
|
||||
# # The required pool name ".nfs" cannot be specified as a K8s resource name, thus we override
|
||||
# # the pool name created in Ceph with this name property
|
||||
# name: .nfs
|
||||
# failureDomain: host
|
||||
# replicated:
|
||||
# size: 3
|
||||
# requireSafeReplicaSize: true
|
||||
Reference in new issue
Block a user