forked from rook/rook
As per discussion, proposing a new layout for the charts/yaml/olm files.
./deploy
├── charts
│ ├── rook-ceph
│ │ └── templates
│ └── rook-ceph-cluster
│ └── templates
├── examples
│ ├── csi
│ │ ├── cephfs
│ │ └── rbd
│ ├── flex
│ ├── monitoring
│ ├── pre-k8s-1.16
└── olm
└── assemble
Signed-off-by: Sébastien Han <seb@redhat.com>
23 lines
1.0 KiB
YAML
23 lines
1.0 KiB
YAML
#################################################################################################################
|
|
# Define the settings for the rook-ceph-external cluster with common settings for a production cluster.
|
|
|
|
# For example, if Rook is not managing any existing cluster in the 'rook-ceph' namespace do:
|
|
# kubectl create -f crds.yaml -f common.yaml -f operator.yaml
|
|
# kubectl create -f cluster-external.yaml
|
|
|
|
# If there is already a cluster managed by Rook in 'rook-ceph' then run:
|
|
# kubectl create -f common-external.yaml -f cluster-external-management.yaml
|
|
#################################################################################################################
|
|
apiVersion: ceph.rook.io/v1
|
|
kind: CephCluster
|
|
metadata:
|
|
name: rook-ceph-external
|
|
namespace: rook-ceph-external # namespace:cluster
|
|
spec:
|
|
external:
|
|
enable: true
|
|
dataDirHostPath: /var/lib/rook
|
|
# providing an image is required, if you want to create other CRs (rgw, mds, nfs)
|
|
cephVersion:
|
|
image: quay.io/ceph/ceph:v16.2.6 # Should match external cluster version
|