forked from rook/rook
updated the external cluster doc, and helm and manifest install to make use of csi operator as it is the default offering now Signed-off-by: parth-gr <partharora1010@gmail.com>
31 lines
1.2 KiB
YAML
31 lines
1.2 KiB
YAML
#################################################################################################################
|
|
# If Rook is not managing any existing cluster in the 'rook-ceph' namespace do:
|
|
# kubectl create -f ../../examples/crds.yaml -f ../../examples/common.yaml -f ../../examples/csi-operator.yaml
|
|
# kubectl create -f ../../examples/operator.yaml -f common-external.yaml -f cluster-external.yaml
|
|
#
|
|
# If there is already a cluster managed by Rook in 'rook-ceph' then do:
|
|
# kubectl create -f common-external.yaml
|
|
# kubectl create -f common-external.yaml
|
|
#################################################################################################################
|
|
apiVersion: ceph.rook.io/v1
|
|
kind: CephCluster
|
|
metadata:
|
|
name: rook-ceph-external
|
|
namespace: rook-ceph # namespace:cluster
|
|
spec:
|
|
external:
|
|
enable: true
|
|
crashCollector:
|
|
disable: true
|
|
healthCheck:
|
|
daemonHealth:
|
|
mon:
|
|
disabled: false
|
|
interval: 45s
|
|
# optionally, the ceph-mgr IP address can be passed to gather metric from the prometheus exporter
|
|
# monitoring:
|
|
# enabled: true
|
|
# externalMgrEndpoints:
|
|
# - ip: ip
|
|
# externalMgrPrometheusPort: 9283
|