Files
my-rook-config/cluster/examples/kubernetes/ceph/pool.yaml
T

19 lines
738 B
YAML

apiVersion: ceph.rook.io/v1beta1
kind: Pool
metadata:
name: replicapool
namespace: rook-ceph
spec:
# The failure domain will spread the replicas of the data across different failure zones
failureDomain: osd
# The root of the crush hierarchy that will be used for the pool. If not set, will use "default".
crushRoot: default
# For a pool based on raw copies, specify the number of copies. A size of 1 indicates no redundancy.
replicated:
size: 1
# For an erasure-coded pool, comment out the replicated size above and uncomment the following settings.
# Make sure you have enough OSDs to support the replica size or sum of the erasure coding and data chunks.
#erasureCoded:
# dataChunks: 2
# codingChunks: 1