forked from rook/rook
976 B
976 B
Creating Rook Storage Pools
Rook allows creation and customization of storage pools through the third party resources (TPRs). The following settings are available for pools.
Sample
apiVersion: rook.io/v1alpha1
kind: Pool
metadata:
name: ecpool
namespace: rook
spec:
replication:
# size: 3
erasureCode:
codingChunks: 2
dataChunks: 2
Pool Settings
Metadata
name: The name of the pool to create.namespace: The namespace of the Rook cluster where the pool is created.
Spec
replication: Settings for a replicated pool. If specified,erasureCodesettings must not be specified.size: The number of copies of the data in the pool.
erasureCode: Settings for an erasure-coded pool. If specified,replicationsettings must not be specified.codingChunks: Number of coding chunks per object in an erasure coded storage pooldataChunks: Number of data chunks per object in an erasure coded storage pool