cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 3063bb8de605c7a4576b2b1827746b80034d99ac
parent 69c67481925aad01bcb42b40130c230a8c5d38cf
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon, 19 Jun 2023 11:02:40 +0200

Fix cephfs?

Diffstat:
Mapps/base/rook/filesystem.yaml | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/apps/base/rook/filesystem.yaml b/apps/base/rook/filesystem.yaml @@ -399,7 +399,7 @@ spec: # The metadata pool spec. Must use replication. metadataPool: replicated: - size: 2 + size: 3 requireSafeReplicaSize: true parameters: # Inline compression mode for the data pool @@ -414,7 +414,7 @@ spec: - name: replicated failureDomain: host replicated: - size: 2 + size: 3 # Disallow setting pool with replica 1, this could lead to data loss without recovery. # Make sure you're *ABSOLUTELY CERTAIN* that is what you want requireSafeReplicaSize: true @@ -512,6 +512,8 @@ kind: StorageClass metadata: name: rook-main-fs namespace: rook-cephfs + annotations: + storageclass.kubernetes.io/is-default-class: "true" # Change "rook-ceph" provisioner prefix to match the operator namespace if needed provisioner: rook-ceph.cephfs.csi.ceph.com # driver:namespace:operator parameters: