media2-filesystem.yaml 953 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # TODO move to the main helm values
  2. apiVersion: ceph.rook.io/v1
  3. kind: CephFilesystem
  4. metadata:
  5. name: media2
  6. namespace: rook-ceph
  7. spec:
  8. metadataPool:
  9. replicated:
  10. size: 3
  11. deviceClass: ssd
  12. failureDomain: host
  13. dataPools:
  14. - name: default
  15. replicated:
  16. size: 3
  17. deviceClass: hdd
  18. failureDomain: host
  19. - name: erasurecoded
  20. erasureCoded:
  21. dataChunks: 2
  22. codingChunks: 1
  23. deviceClass: hdd
  24. failureDomain: host
  25. preserveFilesystemOnDelete: true
  26. metadataServer:
  27. activeCount: 1
  28. activeStandby: true
  29. placement:
  30. nodeAffinity:
  31. requiredDuringSchedulingIgnoredDuringExecution:
  32. nodeSelectorTerms:
  33. - matchExpressions:
  34. - key: storage-node
  35. operator: In
  36. values:
  37. - "true"
  38. tolerations:
  39. - key: storage-node
  40. operator: Exists
  41. priorityClassName: system-cluster-critical