This commit enables configuring a compression_mode for pools that takes the values as specified for bluestore OSD compression_mode values, https://docs.ceph.com/docs/master/rados/configuration/bluestore-config-ref/#inline-compression Signed-off-by: ShyamsundarR <srangana@redhat.com>
25 lines
698 B
YAML
25 lines
698 B
YAML
#################################################################################################################
|
|
# Create an object store with settings for a test environment. Only a single OSD is required in this example.
|
|
# kubectl create -f object-test.yaml
|
|
#################################################################################################################
|
|
|
|
apiVersion: ceph.rook.io/v1
|
|
kind: CephObjectStore
|
|
metadata:
|
|
name: my-store
|
|
namespace: rook-ceph
|
|
spec:
|
|
metadataPool:
|
|
replicated:
|
|
size: 1
|
|
dataPool:
|
|
replicated:
|
|
size: 1
|
|
compressionMode: none
|
|
preservePoolsOnDelete: false
|
|
gateway:
|
|
type: s3
|
|
port: 80
|
|
securePort:
|
|
instances: 1
|