The RBAC is tedious to copy everywhere with the cluster.yaml and is confusing to newcomers. The common resources are now factored into the operator-common.yaml for the common scenario of creating a single cluster. Examples are now added for configuration of the operator and cluster crds to provide a more complete set. Signed-off-by: travisn <tnielsen@redhat.com>
22 lines
647 B
YAML
22 lines
647 B
YAML
#################################################################################################################
|
|
# Create a filesystem with settings for a test environment where only a single OSD is required.
|
|
# kubectl create -f filesystem-test.yaml
|
|
#################################################################################################################
|
|
|
|
apiVersion: ceph.rook.io/v1
|
|
kind: CephFilesystem
|
|
metadata:
|
|
name: myfs
|
|
namespace: rook-ceph
|
|
spec:
|
|
metadataPool:
|
|
replicated:
|
|
size: 1
|
|
dataPools:
|
|
- failureDomain: osd
|
|
replicated:
|
|
size: 1
|
|
metadataServer:
|
|
activeCount: 1
|
|
activeStandby: true
|