Skip to content

Instantly share code, notes, and snippets.

@mback2k
Last active February 11, 2021 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mback2k/547c5f7a81c1149bdf51adf0165c0d83 to your computer and use it in GitHub Desktop.
Save mback2k/547c5f7a81c1149bdf51adf0165c0d83 to your computer and use it in GitHub Desktop.
rook-ceph-nfs
---
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
name: ceph-nfs-pool
namespace: rook-ceph
spec:
failureDomain: host
replicated:
size: 3
...
apiVersion: ceph.rook.io/v1
kind: CephNFS
metadata:
name: ceph-nfs
namespace: rook-ceph
spec:
rados:
pool: ceph-nfs-pool
namespace: nfs
server:
active: 3
placement:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: rook-ceph-nfs
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment