Josh Bicking há 2 dias atrás
pai
commit
0f16b7aea2
1 ficheiros alterados com 9 adições e 8 exclusões
  1. 9 8
      argocd/rook/rook-ceph-cluster-values.yaml

+ 9 - 8
argocd/rook/rook-ceph-cluster-values.yaml

@@ -44,15 +44,16 @@ cephClusterSpec:
   # tolerate taints with a key of 'storage-node'.
   placement:
     all:
-      # TODO are snapshots easier if mgr/mon/mds run on a compute node?
       nodeAffinity:
-        requiredDuringSchedulingIgnoredDuringExecution: {}
-        #  nodeSelectorTerms:
-        #    - matchExpressions:
-        #      - key: storage-node
-        #        operator: In
-        #        values:
-        #        - "true"
+        requiredDuringSchedulingIgnoredDuringExecution:
+          nodeSelectorTerms:
+            - matchExpressions:
+              - key: storage-node
+                operator: In
+                values:
+                - "true"
+        # TODO are snapshots easier if mgr/mon/mds run on a compute node?
+        # TODO does running on a compute node change cephfs mounting? I think it requires mon's port 6789
         preferredDuringSchedulingIgnoredDuringExecution:
         - weight: 1
           preference: