This should be working but...
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
2d4c4c89e9
commit
d90340da91
|
@ -1,24 +1,10 @@
|
||||||
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
|
|
||||||
mon_data_avail_warn = 10
|
|
||||||
---
|
|
||||||
apiVersion: ceph.rook.io/v1
|
apiVersion: ceph.rook.io/v1
|
||||||
kind: CephCluster
|
kind: CephCluster
|
||||||
metadata:
|
metadata:
|
||||||
name: ssd-cluster
|
name: ssd-cluster
|
||||||
namespace: rook-ceph # namespace:cluster
|
namespace: rook-ceph # namespace:cluster
|
||||||
spec:
|
spec:
|
||||||
dataDirHostPath: /var/lib/rook
|
dataDirHostPath: /var/lib/rook-cluster-ssd
|
||||||
cephVersion:
|
cephVersion:
|
||||||
image: quay.io/ceph/ceph:v18
|
image: quay.io/ceph/ceph:v18
|
||||||
allowUnsupported: true
|
allowUnsupported: true
|
||||||
|
@ -33,7 +19,7 @@ spec:
|
||||||
crashCollector:
|
crashCollector:
|
||||||
disable: true
|
disable: true
|
||||||
storage:
|
storage:
|
||||||
useAllNodes: true
|
useAllNodes: false
|
||||||
useAllDevices: false
|
useAllDevices: false
|
||||||
#deviceFilter:
|
#deviceFilter:
|
||||||
nodes:
|
nodes:
|
||||||
|
@ -54,14 +40,3 @@ spec:
|
||||||
mgr: system-cluster-critical
|
mgr: system-cluster-critical
|
||||||
disruptionManagement:
|
disruptionManagement:
|
||||||
managePodBudgets: true
|
managePodBudgets: true
|
||||||
---
|
|
||||||
apiVersion: ceph.rook.io/v1
|
|
||||||
kind: CephBlockPool
|
|
||||||
metadata:
|
|
||||||
name: builtin-mgr
|
|
||||||
namespace: rook-ceph # namespace:cluster
|
|
||||||
spec:
|
|
||||||
name: .mgr
|
|
||||||
replicated:
|
|
||||||
size: 1
|
|
||||||
requireSafeReplicaSize: false
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
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
|
||||||
|
mon_data_avail_warn = 10
|
|
@ -13,10 +13,10 @@ parameters:
|
||||||
pool: replicapool-ssd
|
pool: replicapool-ssd
|
||||||
|
|
||||||
# The secrets contain Ceph admin credentials.
|
# The secrets contain Ceph admin credentials.
|
||||||
csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
|
csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
|
||||||
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph-data
|
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph
|
||||||
csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
|
csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
|
||||||
csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph-data
|
csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph
|
||||||
|
|
||||||
# Delete the rbd volume when a PVC is deleted
|
# Delete the rbd volume when a PVC is deleted
|
||||||
reclaimPolicy: Delete
|
reclaimPolicy: Delete
|
|
@ -18,9 +18,9 @@ parameters:
|
||||||
|
|
||||||
# The secrets contain Ceph admin credentials.
|
# The secrets contain Ceph admin credentials.
|
||||||
csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
|
csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
|
||||||
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph-data
|
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph
|
||||||
csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
|
csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
|
||||||
csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph-data
|
csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph
|
||||||
|
|
||||||
# Specify the filesystem type of the volume. If not specified, csi-provisioner
|
# Specify the filesystem type of the volume. If not specified, csi-provisioner
|
||||||
# will set default as `ext4`.
|
# will set default as `ext4`.
|
Loading…
Reference in New Issue