Files
my-rook-config/deploy/examples/cluster-test.yaml
T

73 lines
1.9 KiB
YAML
Raw Normal View History

2020-04-21 15:14:08 -06:00
#################################################################################################################
# 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
2020-04-21 15:14:08 -06:00
#################################################################################################################
apiVersion: ceph.rook.io/v1
kind: CephCluster
metadata:
name: my-cluster
namespace: rook-ceph # namespace:cluster
2020-04-21 15:14:08 -06:00
spec:
dataDirHostPath: /var/lib/rook
cephVersion:
2025-12-01 13:43:20 +05:30
image: quay.io/ceph/ceph:v20
2020-04-21 15:14:08 -06:00
allowUnsupported: true
mon:
count: 1
allowMultiplePerNode: true
# test environments can skip ok-to-stop checks during upgrades
skipUpgradeChecks: true
2021-01-17 10:54:22 +08:00
mgr:
count: 1
allowMultiplePerNode: true
modules:
- name: rook
enabled: true
2020-04-21 15:14:08 -06:00
dashboard:
enabled: true
crashCollector:
disable: true
storage:
useAllNodes: true
useAllDevices: true
allowDeviceClassUpdate: true
2024-07-08 20:43:04 +05:30
allowOsdCrushWeightUpdate: false
2020-04-21 15:14:08 -06:00
#deviceFilter:
#config:
# deviceClass: testclass
monitoring:
enabled: false
healthCheck:
daemonHealth:
mon:
interval: 45s
timeout: 600s
priorityClassNames:
all: system-node-critical
mgr: system-cluster-critical
disruptionManagement:
managePodBudgets: true
cephConfig:
global:
osd_pool_default_size: "1"
mon_warn_on_pool_no_redundancy: "false"
bdev_flock_retry: "20"
bluefs_buffered_io: "false"
mon_data_avail_warn: "10"
---
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
2022-04-05 12:35:57 -06:00
name: builtin-mgr
namespace: rook-ceph # namespace:cluster
spec:
name: .mgr
replicated:
size: 1
requireSafeReplicaSize: false