Skip to content

Instantly share code, notes, and snippets.

@SteaceP
Created December 25, 2020 02:41
Show Gist options
  • Save SteaceP/d9b93f2e587e6e1418a85c7c048bfcb7 to your computer and use it in GitHub Desktop.
Save SteaceP/d9b93f2e587e6e1418a85c7c048bfcb7 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: PersistentVolume
metadata:
name: ceph-pv
spec:
capacity:
storage: 10Gi
accessModes:
- ReadWriteOnce
rbd:
monitors:
- 192.168.122.133:6789,192.168.122.134:6789,192.168.122.135:6789
pool: ssd_pool
image: ceph-image
user: admin
secretRef:
name: ceph-secret
fsType: ext4
readOnly: false
persistentVolumeReclaimPolicy: Recycle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment