-
Notifications
You must be signed in to change notification settings - Fork 24
/
cluster.yaml
35 lines (34 loc) · 1.28 KB
/
cluster.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#################################################################################################################
# Define the settings for the rook-ceph cluster where only a single mon and mgr are started.
# Other daemons are expected to be set through the Ceph dashboard or by otherwise modifying the cluster crd
# after the initial cluster is created.
# See the cluster CRD documentation for more details: https://rook.io/docs/rook/master/ceph-cluster-crd.html
# For example, to create the cluster:
# kubectl create -f common.yaml
# kubectl create -f operator.yaml
# kubectl create -f cluster-minimal.yaml
#################################################################################################################
apiVersion: ceph.rook.io/v1
kind: CephCluster
metadata:
name: rook-ceph
namespace: rook-ceph
spec:
cephVersion:
image: ceph/ceph:v14.2.7
allowUnsupported: false
dataDirHostPath: /var/snap/microk8s/common/var/lib/rook
mon:
count: 1
allowMultiplePerNode: false
dashboard:
enabled: true
ssl: true
monitoring:
enabled: false # requires Prometheus to be pre-installed
rulesNamespace: rook-ceph
network:
hostNetwork: true
storage: # cluster level storage configuration and selection
useAllNodes: true
useAllDevices: true