Skip to content

Instantly share code, notes, and snippets.

@ganeshmaharaj
Created January 25, 2019 21:14
Show Gist options
  • Save ganeshmaharaj/d40753f443d911cb4c0f0a05b9edf39a to your computer and use it in GitHub Desktop.
Save ganeshmaharaj/d40753f443d911cb4c0f0a05b9edf39a to your computer and use it in GitHub Desktop.
cluster-rook-drive
---
apiVersion: ceph.rook.io/v1
kind: CephCluster
metadata:
name: rook-ceph
namespace: rook-ceph
spec:
cephVersion:
image: ceph/ceph:v13.2.2-20181023
allowUnsupported: false
dataDirHostPath: /var/lib/rook
mon:
count: 3
allowMultiplePerNode: true
dashboard:
enabled: true
network:
hostNetwork: false
rbdMirroring:
workers: 0
resources:
storage: # cluster level storage configuration and selection
useAllNodes: true
useAllDevices: false
deviceFilter:
location:
config:
databaseSizeMB: "1024" # this value can be removed for environments with normal sized disks (100 GB or larger)
journalSizeMB: "1024" # this value can be removed for environments with normal sized disks (20 GB or larger)
osdsPerDevice: "1" # this value can be overridden at the node or device level
nodes:
- name: "clr-01"
devices: # specific devices to use for storage can be specified for each node
- name: "vdb"
metadataDevice: "vdc"
- name: "vdd" # multiple osds can be created on high performance devices
config:
osdsPerDevice: "2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment