From 7b6f4e082f0b4d360290b9484fec39aee86ec713 Mon Sep 17 00:00:00 2001 From: "Michael N. Lipp" Date: Mon, 13 Feb 2023 17:25:15 +0100 Subject: [PATCH] docs: add comment regarding placement restrictions The sample files placement rules are too restrictive for small clusters. The comment provides a hint how to fix this. Closes: https://github.com/rook/rook/issues/11658 Signed-off-by: Michael Lipp (cherry picked from commit f466789ad50672c166d54f62611d2e054569d28a) --- deploy/examples/filesystem.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deploy/examples/filesystem.yaml b/deploy/examples/filesystem.yaml index 683cd0705..44dacaa9b 100644 --- a/deploy/examples/filesystem.yaml +++ b/deploy/examples/filesystem.yaml @@ -1,6 +1,7 @@ ################################################################################################################# # Create a filesystem with settings with replication enabled for a production environment. # A minimum of 3 OSDs on different nodes are required in this example. +# If one mds daemon per node is too restrictive, see the podAntiAffinity below. # kubectl create -f filesystem.yaml ################################################################################################################# @@ -72,6 +73,12 @@ spec: operator: In values: - rook-ceph-mds + ## Add this if you want to allow mds daemons for different filesystems to run on one + ## node. The value in "values" must match .metadata.name. + # - key: rook_file_system + # operator: In + # values: + # - myfs # topologyKey: kubernetes.io/hostname will place MDS across different hosts topologyKey: kubernetes.io/hostname preferredDuringSchedulingIgnoredDuringExecution: