################################################################################################################# # Define the settings for the rook-ceph cluster with common settings for a small test cluster. # All nodes with available raw devices will be used for the Ceph cluster. One node is sufficient # in this example. # For example, to create the cluster: # kubectl create -f crds.yaml -f common.yaml -f operator.yaml # kubectl create -f cluster-test.yaml ################################################################################################################# kind: ConfigMap apiVersion: v1 metadata: name: rook-config-override namespace: rook-ceph # namespace:cluster data: config: | [global] osd_pool_default_size = 1 mon_warn_on_pool_no_redundancy = false bdev_flock_retry = 20 bluefs_buffered_io = false --- apiVersion: ceph.rook.io/v1 kind: CephCluster metadata: name: my-cluster namespace: rook-ceph # namespace:cluster spec: dataDirHostPath: /var/lib/rook cephVersion: image: quay.io/ceph/ceph:v16.2.6 allowUnsupported: true mon: count: 1 allowMultiplePerNode: true mgr: count: 1 allowMultiplePerNode: true dashboard: enabled: true crashCollector: disable: true storage: useAllNodes: true useAllDevices: true #deviceFilter: healthCheck: daemonHealth: mon: interval: 45s timeout: 600s disruptionManagement: managePodBudgets: true