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

17 lines
608 B
YAML

apiVersion: rook.io/v1alpha1
kind: Pool
metadata:
name: replicapool
namespace: rook
spec:
# The failure domain will spread the replicas of the data across different failure zones
failureDomain: osd
# 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